home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / CIncludes / HIControls.h < prev    next >
C/C++ Source or Header  |  1996-05-01  |  125KB  |  3,076 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: HIControls.h.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.18
  7.  *     SOM Emitter emith.dll: 2.33
  8.  */
  9.  
  10. #ifndef SOM_HIControl_h
  11. #define SOM_HIControl_h
  12.  
  13.  
  14. /*
  15.  * Passthru lines: File: "C.h", "before"
  16.  */
  17. #include <Types.h>
  18. #include <HIObjectTypes.h>
  19. #include <HIControlTypes.h>
  20.  
  21. #include <som.h>
  22.  
  23. /*
  24.  * -- This emitter treats Method Tokens as Thunks by default.
  25.  * -- Use the sc modifier "nothunks" to change this default
  26.  */
  27. #undef somresolve_
  28. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  29.  
  30. /*
  31.  * Define the class name as an object type
  32.  */
  33. #ifndef HIControl
  34. #define HIControl SOMObject
  35. #endif
  36. #include <HIPanels.h>
  37.  
  38. /*
  39.  * Start of user-defined types:
  40.  */
  41. #ifndef SOMClass
  42.     #define SOMClass SOMObject
  43. #endif /* SOMClass */
  44. #ifndef SOMObject
  45.     #define SOMObject SOMObject
  46. #endif /* SOMObject */
  47. #ifndef HIWindow
  48.     #define HIWindow SOMObject
  49. #endif /* HIWindow */
  50. #ifndef HIEmbeddingPanel
  51.     #define HIEmbeddingPanel SOMObject
  52. #endif /* HIEmbeddingPanel */
  53. #ifndef HIMenu
  54.     #define HIMenu SOMObject
  55. #endif /* HIMenu */
  56.  
  57. /*
  58.  * End of user-defined types.
  59.  */
  60.  
  61. #define HIControl_MajorVersion 0
  62. #define HIControl_MinorVersion 0
  63.  
  64. /*
  65.  * External name shortening if required
  66.  */
  67. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  68. #define HIControlClassData d
  69. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  70. /*--------------Migration------------*/
  71.  
  72. #ifdef OLDIBMSOMAPISUPPORT
  73. #define HIControl_classObj somNewClassReference(HIControl)
  74. #define _HIControl HIControl_classObj
  75. #define HIControlCClassData HIControlClassData
  76. #define HIControlNewClass(major,minor) somNewVersionedClassReference(HIControl,major,minor)
  77. #endif
  78.  
  79. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  80. #define HIControlMetaClass SOMClass
  81.  
  82. #if PRAGMA_ALIGN_SUPPORTED
  83. #  pragma options align=power
  84. #endif
  85.  
  86. /*
  87.  * Declare the class data structure
  88.  */
  89. SOMEXTERN struct HIControlClassDataStructure {
  90. #ifdef OLDIBMSOMAPISUPPORT
  91.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  92. #else
  93.     long zero;
  94. #endif
  95.     somStaticClassInfo *sci;
  96.     somDToken        instanceDataToken;
  97.     long reserved [3];
  98.     somMToken InitControl;
  99.     somMToken SetValue;
  100.     somMToken GetValue;
  101.     somMToken SetMinimum;
  102.     somMToken GetMinimum;
  103.     somMToken SetMaximum;
  104.     somMToken GetMaximum;
  105.     somMToken SimulateSelection;
  106.     somMToken reserved0;
  107.     somMToken reserved1;
  108. } SOMDLINK HIControlClassData;
  109.  
  110. #if PRAGMA_ALIGN_SUPPORTED
  111. #  pragma options align=reset
  112. #endif
  113.  
  114. #if !defined(HIControl_Class_Source) && !defined(SOM_Module_hicontrols_Source)
  115. #if PRAGMA_IMPORT_SUPPORTED
  116. #pragma import list HIControlClassData
  117. #endif
  118. #endif
  119.  
  120.  
  121. /*
  122.  * New macro for HIControl
  123.  */
  124. #define HIControlNew() somNewObject(HIControl)
  125.  
  126. /*
  127.  * New Method: InitControl
  128.  */
  129. typedef OSStatus   (SOMLINK *somTD_HIControl_InitControl)(HIControl *somSelf, Environment *ev,
  130.         RefLabel* identifier,
  131.         HIWindow* window,
  132.         Rect* bounds,
  133.         SInt32 value,
  134.         SInt32 minimumValue,
  135.         SInt32 maximumValue);
  136. #define somMD_HIControl_InitControl "::HIControl::InitControl"
  137. #define HIControl_InitControl(somSelf,ev,identifier,window,bounds,value,minimumValue,maximumValue) \
  138.     (SOM_Resolve(somSelf, HIControl, InitControl) \
  139.     (somSelf,ev,identifier,window,bounds,value,minimumValue,maximumValue))
  140. #ifndef SOMGD_InitControl
  141.     #if defined _InitControl || defined __InitControl
  142.         #undef _InitControl
  143.         #undef __InitControl
  144.         #define SOMGD_InitControl 1
  145.     #else
  146.         #define _InitControl HIControl_InitControl
  147.     #endif /* _InitControl */
  148. #endif /* SOMGD_InitControl */
  149.  
  150. /*
  151.  * New Method: SetValue
  152.  */
  153. typedef void   (SOMLINK *somTD_HIControl_SetValue)(HIControl *somSelf, Environment *ev,
  154.         SInt32 newValue);
  155. #define somMD_HIControl_SetValue "::HIControl::SetValue"
  156. #define HIControl_SetValue(somSelf,ev,newValue) \
  157.     (SOM_Resolve(somSelf, HIControl, SetValue) \
  158.     (somSelf,ev,newValue))
  159. #ifndef SOMGD_SetValue
  160.     #if defined _SetValue || defined __SetValue
  161.         #undef _SetValue
  162.         #undef __SetValue
  163.         #define SOMGD_SetValue 1
  164.     #else
  165.         #define _SetValue HIControl_SetValue
  166.     #endif /* _SetValue */
  167. #endif /* SOMGD_SetValue */
  168.  
  169. /*
  170.  * New Method: GetValue
  171.  */
  172. typedef SInt32   (SOMLINK *somTD_HIControl_GetValue)(HIControl *somSelf, Environment *ev);
  173. #define somMD_HIControl_GetValue "::HIControl::GetValue"
  174. #define HIControl_GetValue(somSelf,ev) \
  175.     (SOM_Resolve(somSelf, HIControl, GetValue) \
  176.     (somSelf,ev))
  177. #ifndef SOMGD_GetValue
  178.     #if defined _GetValue || defined __GetValue
  179.         #undef _GetValue
  180.         #undef __GetValue
  181.         #define SOMGD_GetValue 1
  182.     #else
  183.         #define _GetValue HIControl_GetValue
  184.     #endif /* _GetValue */
  185. #endif /* SOMGD_GetValue */
  186.  
  187. /*
  188.  * New Method: SetMinimum
  189.  */
  190. typedef void   (SOMLINK *somTD_HIControl_SetMinimum)(HIControl *somSelf, Environment *ev,
  191.         SInt32 newMinimum);
  192. #define somMD_HIControl_SetMinimum "::HIControl::SetMinimum"
  193. #define HIControl_SetMinimum(somSelf,ev,newMinimum) \
  194.     (SOM_Resolve(somSelf, HIControl, SetMinimum) \
  195.     (somSelf,ev,newMinimum))
  196. #ifndef SOMGD_SetMinimum
  197.     #if defined _SetMinimum || defined __SetMinimum
  198.         #undef _SetMinimum
  199.         #undef __SetMinimum
  200.         #define SOMGD_SetMinimum 1
  201.     #else
  202.         #define _SetMinimum HIControl_SetMinimum
  203.     #endif /* _SetMinimum */
  204. #endif /* SOMGD_SetMinimum */
  205.  
  206. /*
  207.  * New Method: GetMinimum
  208.  */
  209. typedef SInt32   (SOMLINK *somTD_HIControl_GetMinimum)(HIControl *somSelf, Environment *ev);
  210. #define somMD_HIControl_GetMinimum "::HIControl::GetMinimum"
  211. #define HIControl_GetMinimum(somSelf,ev) \
  212.     (SOM_Resolve(somSelf, HIControl, GetMinimum) \
  213.     (somSelf,ev))
  214. #ifndef SOMGD_GetMinimum
  215.     #if defined _GetMinimum || defined __GetMinimum
  216.         #undef _GetMinimum
  217.         #undef __GetMinimum
  218.         #define SOMGD_GetMinimum 1
  219.     #else
  220.         #define _GetMinimum HIControl_GetMinimum
  221.     #endif /* _GetMinimum */
  222. #endif /* SOMGD_GetMinimum */
  223.  
  224. /*
  225.  * New Method: SetMaximum
  226.  */
  227. typedef void   (SOMLINK *somTD_HIControl_SetMaximum)(HIControl *somSelf, Environment *ev,
  228.         SInt32 newMaximum);
  229. #define somMD_HIControl_SetMaximum "::HIControl::SetMaximum"
  230. #define HIControl_SetMaximum(somSelf,ev,newMaximum) \
  231.     (SOM_Resolve(somSelf, HIControl, SetMaximum) \
  232.     (somSelf,ev,newMaximum))
  233. #ifndef SOMGD_SetMaximum
  234.     #if defined _SetMaximum || defined __SetMaximum
  235.         #undef _SetMaximum
  236.         #undef __SetMaximum
  237.         #define SOMGD_SetMaximum 1
  238.     #else
  239.         #define _SetMaximum HIControl_SetMaximum
  240.     #endif /* _SetMaximum */
  241. #endif /* SOMGD_SetMaximum */
  242.  
  243. /*
  244.  * New Method: GetMaximum
  245.  */
  246. typedef SInt32   (SOMLINK *somTD_HIControl_GetMaximum)(HIControl *somSelf, Environment *ev);
  247. #define somMD_HIControl_GetMaximum "::HIControl::GetMaximum"
  248. #define HIControl_GetMaximum(somSelf,ev) \
  249.     (SOM_Resolve(somSelf, HIControl, GetMaximum) \
  250.     (somSelf,ev))
  251. #ifndef SOMGD_GetMaximum
  252.     #if defined _GetMaximum || defined __GetMaximum
  253.         #undef _GetMaximum
  254.         #undef __GetMaximum
  255.         #define SOMGD_GetMaximum 1
  256.     #else
  257.         #define _GetMaximum HIControl_GetMaximum
  258.     #endif /* _GetMaximum */
  259. #endif /* SOMGD_GetMaximum */
  260.  
  261. /*
  262.  * New Method: SimulateSelection
  263.  */
  264. typedef void   (SOMLINK *somTD_HIControl_SimulateSelection)(HIControl *somSelf, Environment *ev);
  265. #define somMD_HIControl_SimulateSelection "::HIControl::SimulateSelection"
  266. #define HIControl_SimulateSelection(somSelf,ev) \
  267.     (SOM_Resolve(somSelf, HIControl, SimulateSelection) \
  268.     (somSelf,ev))
  269. #ifndef SOMGD_SimulateSelection
  270.     #if defined _SimulateSelection || defined __SimulateSelection
  271.         #undef _SimulateSelection
  272.         #undef __SimulateSelection
  273.         #define SOMGD_SimulateSelection 1
  274.     #else
  275.         #define _SimulateSelection HIControl_SimulateSelection
  276.     #endif /* _SimulateSelection */
  277. #endif /* SOMGD_SimulateSelection */
  278. #ifndef SOM_DONT_USE_INHERITED_MACROS
  279. #define HIControl_GetEmbeddingParent HIPanel_GetEmbeddingParent
  280. #define HIControl_InitPanel HIPanel_InitPanel
  281. #define HIControl_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
  282. #define HIControl_HasValidContent HIPanel_HasValidContent
  283. #define HIControl_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
  284. #define HIControl_GetWindow HIObject_GetWindow
  285. #define HIControl_GetPort HIObject_GetPort
  286. #define HIControl_GetRefLabel HIObject_GetRefLabel
  287. #define HIControl_GetCollection HIObject_GetCollection
  288. #define HIControl_Init HIObject_Init
  289. #define HIControl_Terminate HIObject_Terminate
  290. #define HIControl_Clone HIObject_Clone
  291. #define HIControl_Release HIObject_Release
  292. #define HIControl_GetOwnerCount HIObject_GetOwnerCount
  293. #define HIControl_InitFromAERecord HIObject_InitFromAERecord
  294. #define HIControl_WriteToAERecord HIObject_WriteToAERecord
  295. #define HIControl_CalculateOptimalSize HIObject_CalculateOptimalSize
  296. #define HIControl_GetBoundingRect HIObject_GetBoundingRect
  297. #define HIControl_SetBoundingRect HIObject_SetBoundingRect
  298. #define HIControl_SetPosition HIObject_SetPosition
  299. #define HIControl_SetSize HIObject_SetSize
  300. #define HIControl_GetUpdateRect HIObject_GetUpdateRect
  301. #define HIControl_Enable HIObject_Enable
  302. #define HIControl_Disable HIObject_Disable
  303. #define HIControl_IsEnabled HIObject_IsEnabled
  304. #define HIControl_Show HIObject_Show
  305. #define HIControl_Hide HIObject_Hide
  306. #define HIControl_IsVisible HIObject_IsVisible
  307. #define HIControl_HandleAppleEvent HIObject_HandleAppleEvent
  308. #define HIControl_HandleActivate HIObject_HandleActivate
  309. #define HIControl_HandleDeactivate HIObject_HandleDeactivate
  310. #define HIControl_HandleNavigation HIObject_HandleNavigation
  311. #define HIControl_HandleMouseDownInContent HIObject_HandleMouseDownInContent
  312. #define HIControl_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
  313. #define HIControl_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
  314. #define HIControl_HandleMouseUpInContent HIObject_HandleMouseUpInContent
  315. #define HIControl_TakeUserInputFocus HIObject_TakeUserInputFocus
  316. #define HIControl_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
  317. #define HIControl_HasUserInputFocus HIObject_HasUserInputFocus
  318. #define HIControl_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
  319. #define HIControl_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
  320. #define HIControl_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
  321. #define HIControl_SetTitle HIObject_SetTitle
  322. #define HIControl_GetTitle HIObject_GetTitle
  323. #define HIControl_Draw HIObject_Draw
  324. #define HIControl_Erase HIObject_Erase
  325. #define HIControl_Invalidate HIObject_Invalidate
  326. #define HIControl_GetDrawingMode HIObject_GetDrawingMode
  327. #define HIControl_SetDrawingMode HIObject_SetDrawingMode
  328. #define HIControl_SetBackgroundPattern HIObject_SetBackgroundPattern
  329. #define HIControl_GetBackgroundPattern HIObject_GetBackgroundPattern
  330. #define HIControl_Cut HIObject_Cut
  331. #define HIControl_Copy HIObject_Copy
  332. #define HIControl_Paste HIObject_Paste
  333. #define HIControl_Clear HIObject_Clear
  334. #define HIControl_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
  335. #define HIControl_AddStateChangeCallback HIObject_AddStateChangeCallback
  336. #define HIControl_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
  337. #define HIControl_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
  338. #define HIControl_GetNewHIObject HIObject_GetNewHIObject
  339. #define HIControl_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
  340. #define HIControl_DrawContent HIObject_DrawContent
  341. #define HIControl_EraseContent HIObject_EraseContent
  342. #define HIControl_TranslatePoint HIObject_TranslatePoint
  343. #define HIControl_TranslateRect HIObject_TranslateRect
  344. #define HIControl_StateChanged HIObject_StateChanged
  345. #define HIControl_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
  346. #define HIControl_Verify HIObject_Verify
  347. #define HIControl_somInit SOMObject_somInit
  348. #define HIControl_somUninit SOMObject_somUninit
  349. #define HIControl_somDuplicateReference SOMObject_somDuplicateReference
  350. #define HIControl_somCompareReference SOMObject_somCompareReference
  351. #define HIControl_somRelease SOMObject_somRelease
  352. #define HIControl_somFree SOMObject_somFree
  353. #define HIControl_somCanDelete SOMObject_somCanDelete
  354. #define HIControl_somGetClass SOMObject_somGetClass
  355. #define HIControl_somGetClassName SOMObject_somGetClassName
  356. #define HIControl_somGetSize SOMObject_somGetSize
  357. #define HIControl_somIsA SOMObject_somIsA
  358. #define HIControl_somRespondsTo SOMObject_somRespondsTo
  359. #define HIControl_somIsInstanceOf SOMObject_somIsInstanceOf
  360. #define HIControl_somDispatch SOMObject_somDispatch
  361. #define HIControl_somClassDispatch SOMObject_somClassDispatch
  362. #define HIControl_somCastObj SOMObject_somCastObj
  363. #define HIControl_somResetObj SOMObject_somResetObj
  364. #define HIControl_somPrintSelf SOMObject_somPrintSelf
  365. #define HIControl_somDumpSelf SOMObject_somDumpSelf
  366. #define HIControl_somDumpSelfInt SOMObject_somDumpSelfInt
  367. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  368.  
  369. #endif       /* SOM_HIControl_h */
  370.  
  371. #ifndef SOM_HIPushButton_h
  372. #define SOM_HIPushButton_h
  373.  
  374.  
  375. #include <som.h>
  376.  
  377. /*
  378.  * -- This emitter treats Method Tokens as Thunks by default.
  379.  * -- Use the sc modifier "nothunks" to change this default
  380.  */
  381. #undef somresolve_
  382. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  383.  
  384. /*
  385.  * Define the class name as an object type
  386.  */
  387. #ifndef HIPushButton
  388. #define HIPushButton SOMObject
  389. #endif
  390. #include <HIControls.h>
  391.  
  392. /*
  393.  * Start of user-defined types:
  394.  */
  395.  
  396. /*
  397.  * End of user-defined types.
  398.  */
  399.  
  400. #define HIPushButton_MajorVersion 0
  401. #define HIPushButton_MinorVersion 0
  402.  
  403. /*
  404.  * External name shortening if required
  405.  */
  406. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  407. #define HIPushButtonClassData d
  408. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  409. /*--------------Migration------------*/
  410.  
  411. #ifdef OLDIBMSOMAPISUPPORT
  412. #define HIPushButton_classObj somNewClassReference(HIPushButton)
  413. #define _HIPushButton HIPushButton_classObj
  414. #define HIPushButtonCClassData HIPushButtonClassData
  415. #define HIPushButtonNewClass(major,minor) somNewVersionedClassReference(HIPushButton,major,minor)
  416. #endif
  417.  
  418. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  419. #define HIPushButtonMetaClass SOMClass
  420.  
  421. #if PRAGMA_ALIGN_SUPPORTED
  422. #  pragma options align=power
  423. #endif
  424.  
  425. /*
  426.  * Declare the class data structure
  427.  */
  428. SOMEXTERN struct HIPushButtonClassDataStructure {
  429. #ifdef OLDIBMSOMAPISUPPORT
  430.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  431. #else
  432.     long zero;
  433. #endif
  434.     somStaticClassInfo *sci;
  435.     somDToken        instanceDataToken;
  436.     long reserved [3];
  437.     somMToken InitPushButton;
  438.     somMToken SetAdornment;
  439.     somMToken GetAdornment;
  440. } SOMDLINK HIPushButtonClassData;
  441.  
  442. #if PRAGMA_ALIGN_SUPPORTED
  443. #  pragma options align=reset
  444. #endif
  445.  
  446. #if !defined(HIPushButton_Class_Source) && !defined(SOM_Module_hicontrols_Source)
  447. #if PRAGMA_IMPORT_SUPPORTED
  448. #pragma import list HIPushButtonClassData
  449. #endif
  450. #endif
  451.  
  452.  
  453. /*
  454.  * New macro for HIPushButton
  455.  */
  456. #define HIPushButtonNew() somNewObject(HIPushButton)
  457.  
  458. /*
  459.  * New Method: InitPushButton
  460.  */
  461. typedef OSStatus   (SOMLINK *somTD_HIPushButton_InitPushButton)(HIPushButton *somSelf, Environment *ev,
  462.         RefLabel* identifier,
  463.         HIWindow* window,
  464.         Rect* bounds);
  465. #define somMD_HIPushButton_InitPushButton "::HIPushButton::InitPushButton"
  466. #define HIPushButton_InitPushButton(somSelf,ev,identifier,window,bounds) \
  467.     (SOM_Resolve(somSelf, HIPushButton, InitPushButton) \
  468.     (somSelf,ev,identifier,window,bounds))
  469. #ifndef SOMGD_InitPushButton
  470.     #if defined _InitPushButton || defined __InitPushButton
  471.         #undef _InitPushButton
  472.         #undef __InitPushButton
  473.         #define SOMGD_InitPushButton 1
  474.     #else
  475.         #define _InitPushButton HIPushButton_InitPushButton
  476.     #endif /* _InitPushButton */
  477. #endif /* SOMGD_InitPushButton */
  478.  
  479. /*
  480.  * New Method: SetAdornment
  481.  */
  482. typedef void   (SOMLINK *somTD_HIPushButton_SetAdornment)(HIPushButton *somSelf, Environment *ev,
  483.         HIAdornment adornment);
  484. #define somMD_HIPushButton_SetAdornment "::HIPushButton::SetAdornment"
  485. #define HIPushButton_SetAdornment(somSelf,ev,adornment) \
  486.     (SOM_Resolve(somSelf, HIPushButton, SetAdornment) \
  487.     (somSelf,ev,adornment))
  488. #ifndef SOMGD_SetAdornment
  489.     #if defined _SetAdornment || defined __SetAdornment
  490.         #undef _SetAdornment
  491.         #undef __SetAdornment
  492.         #define SOMGD_SetAdornment 1
  493.     #else
  494.         #define _SetAdornment HIPushButton_SetAdornment
  495.     #endif /* _SetAdornment */
  496. #endif /* SOMGD_SetAdornment */
  497.  
  498. /*
  499.  * New Method: GetAdornment
  500.  */
  501. typedef HIAdornment   (SOMLINK *somTD_HIPushButton_GetAdornment)(HIPushButton *somSelf, Environment *ev);
  502. #define somMD_HIPushButton_GetAdornment "::HIPushButton::GetAdornment"
  503. #define HIPushButton_GetAdornment(somSelf,ev) \
  504.     (SOM_Resolve(somSelf, HIPushButton, GetAdornment) \
  505.     (somSelf,ev))
  506. #ifndef SOMGD_GetAdornment
  507.     #if defined _GetAdornment || defined __GetAdornment
  508.         #undef _GetAdornment
  509.         #undef __GetAdornment
  510.         #define SOMGD_GetAdornment 1
  511.     #else
  512.         #define _GetAdornment HIPushButton_GetAdornment
  513.     #endif /* _GetAdornment */
  514. #endif /* SOMGD_GetAdornment */
  515. #ifndef SOM_DONT_USE_INHERITED_MACROS
  516. #define HIPushButton_InitControl HIControl_InitControl
  517. #define HIPushButton_SetValue HIControl_SetValue
  518. #define HIPushButton_GetValue HIControl_GetValue
  519. #define HIPushButton_SetMinimum HIControl_SetMinimum
  520. #define HIPushButton_GetMinimum HIControl_GetMinimum
  521. #define HIPushButton_SetMaximum HIControl_SetMaximum
  522. #define HIPushButton_GetMaximum HIControl_GetMaximum
  523. #define HIPushButton_SimulateSelection HIControl_SimulateSelection
  524. #define HIPushButton_GetEmbeddingParent HIPanel_GetEmbeddingParent
  525. #define HIPushButton_InitPanel HIPanel_InitPanel
  526. #define HIPushButton_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
  527. #define HIPushButton_HasValidContent HIPanel_HasValidContent
  528. #define HIPushButton_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
  529. #define HIPushButton_GetWindow HIObject_GetWindow
  530. #define HIPushButton_GetPort HIObject_GetPort
  531. #define HIPushButton_GetRefLabel HIObject_GetRefLabel
  532. #define HIPushButton_GetCollection HIObject_GetCollection
  533. #define HIPushButton_Init HIObject_Init
  534. #define HIPushButton_Terminate HIObject_Terminate
  535. #define HIPushButton_Clone HIObject_Clone
  536. #define HIPushButton_Release HIObject_Release
  537. #define HIPushButton_GetOwnerCount HIObject_GetOwnerCount
  538. #define HIPushButton_InitFromAERecord HIObject_InitFromAERecord
  539. #define HIPushButton_WriteToAERecord HIObject_WriteToAERecord
  540. #define HIPushButton_CalculateOptimalSize HIObject_CalculateOptimalSize
  541. #define HIPushButton_GetBoundingRect HIObject_GetBoundingRect
  542. #define HIPushButton_SetBoundingRect HIObject_SetBoundingRect
  543. #define HIPushButton_SetPosition HIObject_SetPosition
  544. #define HIPushButton_SetSize HIObject_SetSize
  545. #define HIPushButton_GetUpdateRect HIObject_GetUpdateRect
  546. #define HIPushButton_Enable HIObject_Enable
  547. #define HIPushButton_Disable HIObject_Disable
  548. #define HIPushButton_IsEnabled HIObject_IsEnabled
  549. #define HIPushButton_Show HIObject_Show
  550. #define HIPushButton_Hide HIObject_Hide
  551. #define HIPushButton_IsVisible HIObject_IsVisible
  552. #define HIPushButton_HandleAppleEvent HIObject_HandleAppleEvent
  553. #define HIPushButton_HandleActivate HIObject_HandleActivate
  554. #define HIPushButton_HandleDeactivate HIObject_HandleDeactivate
  555. #define HIPushButton_HandleNavigation HIObject_HandleNavigation
  556. #define HIPushButton_HandleMouseDownInContent HIObject_HandleMouseDownInContent
  557. #define HIPushButton_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
  558. #define HIPushButton_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
  559. #define HIPushButton_HandleMouseUpInContent HIObject_HandleMouseUpInContent
  560. #define HIPushButton_TakeUserInputFocus HIObject_TakeUserInputFocus
  561. #define HIPushButton_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
  562. #define HIPushButton_HasUserInputFocus HIObject_HasUserInputFocus
  563. #define HIPushButton_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
  564. #define HIPushButton_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
  565. #define HIPushButton_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
  566. #define HIPushButton_SetTitle HIObject_SetTitle
  567. #define HIPushButton_GetTitle HIObject_GetTitle
  568. #define HIPushButton_Draw HIObject_Draw
  569. #define HIPushButton_Erase HIObject_Erase
  570. #define HIPushButton_Invalidate HIObject_Invalidate
  571. #define HIPushButton_GetDrawingMode HIObject_GetDrawingMode
  572. #define HIPushButton_SetDrawingMode HIObject_SetDrawingMode
  573. #define HIPushButton_SetBackgroundPattern HIObject_SetBackgroundPattern
  574. #define HIPushButton_GetBackgroundPattern HIObject_GetBackgroundPattern
  575. #define HIPushButton_Cut HIObject_Cut
  576. #define HIPushButton_Copy HIObject_Copy
  577. #define HIPushButton_Paste HIObject_Paste
  578. #define HIPushButton_Clear HIObject_Clear
  579. #define HIPushButton_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
  580. #define HIPushButton_AddStateChangeCallback HIObject_AddStateChangeCallback
  581. #define HIPushButton_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
  582. #define HIPushButton_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
  583. #define HIPushButton_GetNewHIObject HIObject_GetNewHIObject
  584. #define HIPushButton_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
  585. #define HIPushButton_DrawContent HIObject_DrawContent
  586. #define HIPushButton_EraseContent HIObject_EraseContent
  587. #define HIPushButton_TranslatePoint HIObject_TranslatePoint
  588. #define HIPushButton_TranslateRect HIObject_TranslateRect
  589. #define HIPushButton_StateChanged HIObject_StateChanged
  590. #define HIPushButton_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
  591. #define HIPushButton_Verify HIObject_Verify
  592. #define HIPushButton_somInit SOMObject_somInit
  593. #define HIPushButton_somUninit SOMObject_somUninit
  594. #define HIPushButton_somDuplicateReference SOMObject_somDuplicateReference
  595. #define HIPushButton_somCompareReference SOMObject_somCompareReference
  596. #define HIPushButton_somRelease SOMObject_somRelease
  597. #define HIPushButton_somFree SOMObject_somFree
  598. #define HIPushButton_somCanDelete SOMObject_somCanDelete
  599. #define HIPushButton_somGetClass SOMObject_somGetClass
  600. #define HIPushButton_somGetClassName SOMObject_somGetClassName
  601. #define HIPushButton_somGetSize SOMObject_somGetSize
  602. #define HIPushButton_somIsA SOMObject_somIsA
  603. #define HIPushButton_somRespondsTo SOMObject_somRespondsTo
  604. #define HIPushButton_somIsInstanceOf SOMObject_somIsInstanceOf
  605. #define HIPushButton_somDispatch SOMObject_somDispatch
  606. #define HIPushButton_somClassDispatch SOMObject_somClassDispatch
  607. #define HIPushButton_somCastObj SOMObject_somCastObj
  608. #define HIPushButton_somResetObj SOMObject_somResetObj
  609. #define HIPushButton_somPrintSelf SOMObject_somPrintSelf
  610. #define HIPushButton_somDumpSelf SOMObject_somDumpSelf
  611. #define HIPushButton_somDumpSelfInt SOMObject_somDumpSelfInt
  612. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  613.  
  614. #endif       /* SOM_HIPushButton_h */
  615.  
  616. #ifndef SOM_HIBevelButton_h
  617. #define SOM_HIBevelButton_h
  618.  
  619.  
  620. #include <som.h>
  621.  
  622. /*
  623.  * -- This emitter treats Method Tokens as Thunks by default.
  624.  * -- Use the sc modifier "nothunks" to change this default
  625.  */
  626. #undef somresolve_
  627. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  628.  
  629. /*
  630.  * Define the class name as an object type
  631.  */
  632. #ifndef HIBevelButton
  633. #define HIBevelButton SOMObject
  634. #endif
  635. #include <HIControls.h>
  636.  
  637. /*
  638.  * Start of user-defined types:
  639.  */
  640.  
  641. /*
  642.  * End of user-defined types.
  643.  */
  644.  
  645. #define HIBevelButton_MajorVersion 0
  646. #define HIBevelButton_MinorVersion 0
  647.  
  648. /*
  649.  * External name shortening if required
  650.  */
  651. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  652. #define HIBevelButtonClassData d
  653. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  654. /*--------------Migration------------*/
  655.  
  656. #ifdef OLDIBMSOMAPISUPPORT
  657. #define HIBevelButton_classObj somNewClassReference(HIBevelButton)
  658. #define _HIBevelButton HIBevelButton_classObj
  659. #define HIBevelButtonCClassData HIBevelButtonClassData
  660. #define HIBevelButtonNewClass(major,minor) somNewVersionedClassReference(HIBevelButton,major,minor)
  661. #endif
  662.  
  663. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  664. #define HIBevelButtonMetaClass SOMClass
  665.  
  666. #if PRAGMA_ALIGN_SUPPORTED
  667. #  pragma options align=power
  668. #endif
  669.  
  670. /*
  671.  * Declare the class data structure
  672.  */
  673. SOMEXTERN struct HIBevelButtonClassDataStructure {
  674. #ifdef OLDIBMSOMAPISUPPORT
  675.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  676. #else
  677.     long zero;
  678. #endif
  679.     somStaticClassInfo *sci;
  680.     somDToken        instanceDataToken;
  681.     long reserved [3];
  682.     somMToken InitBevelButton;
  683.     somMToken SetBehavior;
  684.     somMToken GetBehavior;
  685. } SOMDLINK HIBevelButtonClassData;
  686.  
  687. #if PRAGMA_ALIGN_SUPPORTED
  688. #  pragma options align=reset
  689. #endif
  690.  
  691. #if !defined(HIBevelButton_Class_Source) && !defined(SOM_Module_hicontrols_Source)
  692. #if PRAGMA_IMPORT_SUPPORTED
  693. #pragma import list HIBevelButtonClassData
  694. #endif
  695. #endif
  696.  
  697.  
  698. /*
  699.  * New macro for HIBevelButton
  700.  */
  701. #define HIBevelButtonNew() somNewObject(HIBevelButton)
  702.  
  703. /*
  704.  * New Method: InitBevelButton
  705.  */
  706. typedef OSStatus   (SOMLINK *somTD_HIBevelButton_InitBevelButton)(HIBevelButton *somSelf, Environment *ev,
  707.         RefLabel* identifier,
  708.         HIWindow* window,
  709.         Rect* bounds,
  710.         HIControlBehavior behavior);
  711. #define somMD_HIBevelButton_InitBevelButton "::HIBevelButton::InitBevelButton"
  712. #define HIBevelButton_InitBevelButton(somSelf,ev,identifier,window,bounds,behavior) \
  713.     (SOM_Resolve(somSelf, HIBevelButton, InitBevelButton) \
  714.     (somSelf,ev,identifier,window,bounds,behavior))
  715. #ifndef SOMGD_InitBevelButton
  716.     #if defined _InitBevelButton || defined __InitBevelButton
  717.         #undef _InitBevelButton
  718.         #undef __InitBevelButton
  719.         #define SOMGD_InitBevelButton 1
  720.     #else
  721.         #define _InitBevelButton HIBevelButton_InitBevelButton
  722.     #endif /* _InitBevelButton */
  723. #endif /* SOMGD_InitBevelButton */
  724.  
  725. /*
  726.  * New Method: SetBehavior
  727.  */
  728. typedef void   (SOMLINK *somTD_HIBevelButton_SetBehavior)(HIBevelButton *somSelf, Environment *ev,
  729.         HIControlBehavior newBehavior);
  730. #define somMD_HIBevelButton_SetBehavior "::HIBevelButton::SetBehavior"
  731. #define HIBevelButton_SetBehavior(somSelf,ev,newBehavior) \
  732.     (SOM_Resolve(somSelf, HIBevelButton, SetBehavior) \
  733.     (somSelf,ev,newBehavior))
  734. #ifndef SOMGD_SetBehavior
  735.     #if defined _SetBehavior || defined __SetBehavior
  736.         #undef _SetBehavior
  737.         #undef __SetBehavior
  738.         #define SOMGD_SetBehavior 1
  739.     #else
  740.         #define _SetBehavior HIBevelButton_SetBehavior
  741.     #endif /* _SetBehavior */
  742. #endif /* SOMGD_SetBehavior */
  743.  
  744. /*
  745.  * New Method: GetBehavior
  746.  */
  747. typedef HIControlBehavior   (SOMLINK *somTD_HIBevelButton_GetBehavior)(HIBevelButton *somSelf, Environment *ev);
  748. #define somMD_HIBevelButton_GetBehavior "::HIBevelButton::GetBehavior"
  749. #define HIBevelButton_GetBehavior(somSelf,ev) \
  750.     (SOM_Resolve(somSelf, HIBevelButton, GetBehavior) \
  751.     (somSelf,ev))
  752. #ifndef SOMGD_GetBehavior
  753.     #if defined _GetBehavior || defined __GetBehavior
  754.         #undef _GetBehavior
  755.         #undef __GetBehavior
  756.         #define SOMGD_GetBehavior 1
  757.     #else
  758.         #define _GetBehavior HIBevelButton_GetBehavior
  759.     #endif /* _GetBehavior */
  760. #endif /* SOMGD_GetBehavior */
  761. #ifndef SOM_DONT_USE_INHERITED_MACROS
  762. #define HIBevelButton_InitControl HIControl_InitControl
  763. #define HIBevelButton_SetValue HIControl_SetValue
  764. #define HIBevelButton_GetValue HIControl_GetValue
  765. #define HIBevelButton_SetMinimum HIControl_SetMinimum
  766. #define HIBevelButton_GetMinimum HIControl_GetMinimum
  767. #define HIBevelButton_SetMaximum HIControl_SetMaximum
  768. #define HIBevelButton_GetMaximum HIControl_GetMaximum
  769. #define HIBevelButton_SimulateSelection HIControl_SimulateSelection
  770. #define HIBevelButton_GetEmbeddingParent HIPanel_GetEmbeddingParent
  771. #define HIBevelButton_InitPanel HIPanel_InitPanel
  772. #define HIBevelButton_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
  773. #define HIBevelButton_HasValidContent HIPanel_HasValidContent
  774. #define HIBevelButton_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
  775. #define HIBevelButton_GetWindow HIObject_GetWindow
  776. #define HIBevelButton_GetPort HIObject_GetPort
  777. #define HIBevelButton_GetRefLabel HIObject_GetRefLabel
  778. #define HIBevelButton_GetCollection HIObject_GetCollection
  779. #define HIBevelButton_Init HIObject_Init
  780. #define HIBevelButton_Terminate HIObject_Terminate
  781. #define HIBevelButton_Clone HIObject_Clone
  782. #define HIBevelButton_Release HIObject_Release
  783. #define HIBevelButton_GetOwnerCount HIObject_GetOwnerCount
  784. #define HIBevelButton_InitFromAERecord HIObject_InitFromAERecord
  785. #define HIBevelButton_WriteToAERecord HIObject_WriteToAERecord
  786. #define HIBevelButton_CalculateOptimalSize HIObject_CalculateOptimalSize
  787. #define HIBevelButton_GetBoundingRect HIObject_GetBoundingRect
  788. #define HIBevelButton_SetBoundingRect HIObject_SetBoundingRect
  789. #define HIBevelButton_SetPosition HIObject_SetPosition
  790. #define HIBevelButton_SetSize HIObject_SetSize
  791. #define HIBevelButton_GetUpdateRect HIObject_GetUpdateRect
  792. #define HIBevelButton_Enable HIObject_Enable
  793. #define HIBevelButton_Disable HIObject_Disable
  794. #define HIBevelButton_IsEnabled HIObject_IsEnabled
  795. #define HIBevelButton_Show HIObject_Show
  796. #define HIBevelButton_Hide HIObject_Hide
  797. #define HIBevelButton_IsVisible HIObject_IsVisible
  798. #define HIBevelButton_HandleAppleEvent HIObject_HandleAppleEvent
  799. #define HIBevelButton_HandleActivate HIObject_HandleActivate
  800. #define HIBevelButton_HandleDeactivate HIObject_HandleDeactivate
  801. #define HIBevelButton_HandleNavigation HIObject_HandleNavigation
  802. #define HIBevelButton_HandleMouseDownInContent HIObject_HandleMouseDownInContent
  803. #define HIBevelButton_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
  804. #define HIBevelButton_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
  805. #define HIBevelButton_HandleMouseUpInContent HIObject_HandleMouseUpInContent
  806. #define HIBevelButton_TakeUserInputFocus HIObject_TakeUserInputFocus
  807. #define HIBevelButton_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
  808. #define HIBevelButton_HasUserInputFocus HIObject_HasUserInputFocus
  809. #define HIBevelButton_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
  810. #define HIBevelButton_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
  811. #define HIBevelButton_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
  812. #define HIBevelButton_SetTitle HIObject_SetTitle
  813. #define HIBevelButton_GetTitle HIObject_GetTitle
  814. #define HIBevelButton_Draw HIObject_Draw
  815. #define HIBevelButton_Erase HIObject_Erase
  816. #define HIBevelButton_Invalidate HIObject_Invalidate
  817. #define HIBevelButton_GetDrawingMode HIObject_GetDrawingMode
  818. #define HIBevelButton_SetDrawingMode HIObject_SetDrawingMode
  819. #define HIBevelButton_SetBackgroundPattern HIObject_SetBackgroundPattern
  820. #define HIBevelButton_GetBackgroundPattern HIObject_GetBackgroundPattern
  821. #define HIBevelButton_Cut HIObject_Cut
  822. #define HIBevelButton_Copy HIObject_Copy
  823. #define HIBevelButton_Paste HIObject_Paste
  824. #define HIBevelButton_Clear HIObject_Clear
  825. #define HIBevelButton_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
  826. #define HIBevelButton_AddStateChangeCallback HIObject_AddStateChangeCallback
  827. #define HIBevelButton_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
  828. #define HIBevelButton_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
  829. #define HIBevelButton_GetNewHIObject HIObject_GetNewHIObject
  830. #define HIBevelButton_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
  831. #define HIBevelButton_DrawContent HIObject_DrawContent
  832. #define HIBevelButton_EraseContent HIObject_EraseContent
  833. #define HIBevelButton_TranslatePoint HIObject_TranslatePoint
  834. #define HIBevelButton_TranslateRect HIObject_TranslateRect
  835. #define HIBevelButton_StateChanged HIObject_StateChanged
  836. #define HIBevelButton_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
  837. #define HIBevelButton_Verify HIObject_Verify
  838. #define HIBevelButton_somInit SOMObject_somInit
  839. #define HIBevelButton_somUninit SOMObject_somUninit
  840. #define HIBevelButton_somDuplicateReference SOMObject_somDuplicateReference
  841. #define HIBevelButton_somCompareReference SOMObject_somCompareReference
  842. #define HIBevelButton_somRelease SOMObject_somRelease
  843. #define HIBevelButton_somFree SOMObject_somFree
  844. #define HIBevelButton_somCanDelete SOMObject_somCanDelete
  845. #define HIBevelButton_somGetClass SOMObject_somGetClass
  846. #define HIBevelButton_somGetClassName SOMObject_somGetClassName
  847. #define HIBevelButton_somGetSize SOMObject_somGetSize
  848. #define HIBevelButton_somIsA SOMObject_somIsA
  849. #define HIBevelButton_somRespondsTo SOMObject_somRespondsTo
  850. #define HIBevelButton_somIsInstanceOf SOMObject_somIsInstanceOf
  851. #define HIBevelButton_somDispatch SOMObject_somDispatch
  852. #define HIBevelButton_somClassDispatch SOMObject_somClassDispatch
  853. #define HIBevelButton_somCastObj SOMObject_somCastObj
  854. #define HIBevelButton_somResetObj SOMObject_somResetObj
  855. #define HIBevelButton_somPrintSelf SOMObject_somPrintSelf
  856. #define HIBevelButton_somDumpSelf SOMObject_somDumpSelf
  857. #define HIBevelButton_somDumpSelfInt SOMObject_somDumpSelfInt
  858. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  859.  
  860. #endif       /* SOM_HIBevelButton_h */
  861.  
  862. #ifndef SOM_HICheckBox_h
  863. #define SOM_HICheckBox_h
  864.  
  865.  
  866. #include <som.h>
  867.  
  868. /*
  869.  * -- This emitter treats Method Tokens as Thunks by default.
  870.  * -- Use the sc modifier "nothunks" to change this default
  871.  */
  872. #undef somresolve_
  873. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  874.  
  875. /*
  876.  * Define the class name as an object type
  877.  */
  878. #ifndef HICheckBox
  879. #define HICheckBox SOMObject
  880. #endif
  881. #include <HIControls.h>
  882.  
  883. /*
  884.  * Start of user-defined types:
  885.  */
  886.  
  887. /*
  888.  * End of user-defined types.
  889.  */
  890.  
  891. #define HICheckBox_MajorVersion 0
  892. #define HICheckBox_MinorVersion 0
  893.  
  894. /*
  895.  * External name shortening if required
  896.  */
  897. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  898. #define HICheckBoxClassData d
  899. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  900. /*--------------Migration------------*/
  901.  
  902. #ifdef OLDIBMSOMAPISUPPORT
  903. #define HICheckBox_classObj somNewClassReference(HICheckBox)
  904. #define _HICheckBox HICheckBox_classObj
  905. #define HICheckBoxCClassData HICheckBoxClassData
  906. #define HICheckBoxNewClass(major,minor) somNewVersionedClassReference(HICheckBox,major,minor)
  907. #endif
  908.  
  909. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  910. #define HICheckBoxMetaClass SOMClass
  911.  
  912. #if PRAGMA_ALIGN_SUPPORTED
  913. #  pragma options align=power
  914. #endif
  915.  
  916. /*
  917.  * Declare the class data structure
  918.  */
  919. SOMEXTERN struct HICheckBoxClassDataStructure {
  920. #ifdef OLDIBMSOMAPISUPPORT
  921.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  922. #else
  923.     long zero;
  924. #endif
  925.     somStaticClassInfo *sci;
  926.     somDToken        instanceDataToken;
  927.     long reserved [3];
  928.     somMToken InitCheckBox;
  929. } SOMDLINK HICheckBoxClassData;
  930.  
  931. #if PRAGMA_ALIGN_SUPPORTED
  932. #  pragma options align=reset
  933. #endif
  934.  
  935. #if !defined(HICheckBox_Class_Source) && !defined(SOM_Module_hicontrols_Source)
  936. #if PRAGMA_IMPORT_SUPPORTED
  937. #pragma import list HICheckBoxClassData
  938. #endif
  939. #endif
  940.  
  941.  
  942. /*
  943.  * New macro for HICheckBox
  944.  */
  945. #define HICheckBoxNew() somNewObject(HICheckBox)
  946.  
  947. /*
  948.  * New Method: InitCheckBox
  949.  */
  950. typedef OSStatus   (SOMLINK *somTD_HICheckBox_InitCheckBox)(HICheckBox *somSelf, Environment *ev,
  951.         RefLabel* identifier,
  952.         HIWindow* window,
  953.         Rect* bounds);
  954. #define somMD_HICheckBox_InitCheckBox "::HICheckBox::InitCheckBox"
  955. #define HICheckBox_InitCheckBox(somSelf,ev,identifier,window,bounds) \
  956.     (SOM_Resolve(somSelf, HICheckBox, InitCheckBox) \
  957.     (somSelf,ev,identifier,window,bounds))
  958. #ifndef SOMGD_InitCheckBox
  959.     #if defined _InitCheckBox || defined __InitCheckBox
  960.         #undef _InitCheckBox
  961.         #undef __InitCheckBox
  962.         #define SOMGD_InitCheckBox 1
  963.     #else
  964.         #define _InitCheckBox HICheckBox_InitCheckBox
  965.     #endif /* _InitCheckBox */
  966. #endif /* SOMGD_InitCheckBox */
  967. #ifndef SOM_DONT_USE_INHERITED_MACROS
  968. #define HICheckBox_InitControl HIControl_InitControl
  969. #define HICheckBox_SetValue HIControl_SetValue
  970. #define HICheckBox_GetValue HIControl_GetValue
  971. #define HICheckBox_SetMinimum HIControl_SetMinimum
  972. #define HICheckBox_GetMinimum HIControl_GetMinimum
  973. #define HICheckBox_SetMaximum HIControl_SetMaximum
  974. #define HICheckBox_GetMaximum HIControl_GetMaximum
  975. #define HICheckBox_SimulateSelection HIControl_SimulateSelection
  976. #define HICheckBox_GetEmbeddingParent HIPanel_GetEmbeddingParent
  977. #define HICheckBox_InitPanel HIPanel_InitPanel
  978. #define HICheckBox_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
  979. #define HICheckBox_HasValidContent HIPanel_HasValidContent
  980. #define HICheckBox_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
  981. #define HICheckBox_GetWindow HIObject_GetWindow
  982. #define HICheckBox_GetPort HIObject_GetPort
  983. #define HICheckBox_GetRefLabel HIObject_GetRefLabel
  984. #define HICheckBox_GetCollection HIObject_GetCollection
  985. #define HICheckBox_Init HIObject_Init
  986. #define HICheckBox_Terminate HIObject_Terminate
  987. #define HICheckBox_Clone HIObject_Clone
  988. #define HICheckBox_Release HIObject_Release
  989. #define HICheckBox_GetOwnerCount HIObject_GetOwnerCount
  990. #define HICheckBox_InitFromAERecord HIObject_InitFromAERecord
  991. #define HICheckBox_WriteToAERecord HIObject_WriteToAERecord
  992. #define HICheckBox_CalculateOptimalSize HIObject_CalculateOptimalSize
  993. #define HICheckBox_GetBoundingRect HIObject_GetBoundingRect
  994. #define HICheckBox_SetBoundingRect HIObject_SetBoundingRect
  995. #define HICheckBox_SetPosition HIObject_SetPosition
  996. #define HICheckBox_SetSize HIObject_SetSize
  997. #define HICheckBox_GetUpdateRect HIObject_GetUpdateRect
  998. #define HICheckBox_Enable HIObject_Enable
  999. #define HICheckBox_Disable HIObject_Disable
  1000. #define HICheckBox_IsEnabled HIObject_IsEnabled
  1001. #define HICheckBox_Show HIObject_Show
  1002. #define HICheckBox_Hide HIObject_Hide
  1003. #define HICheckBox_IsVisible HIObject_IsVisible
  1004. #define HICheckBox_HandleAppleEvent HIObject_HandleAppleEvent
  1005. #define HICheckBox_HandleActivate HIObject_HandleActivate
  1006. #define HICheckBox_HandleDeactivate HIObject_HandleDeactivate
  1007. #define HICheckBox_HandleNavigation HIObject_HandleNavigation
  1008. #define HICheckBox_HandleMouseDownInContent HIObject_HandleMouseDownInContent
  1009. #define HICheckBox_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
  1010. #define HICheckBox_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
  1011. #define HICheckBox_HandleMouseUpInContent HIObject_HandleMouseUpInContent
  1012. #define HICheckBox_TakeUserInputFocus HIObject_TakeUserInputFocus
  1013. #define HICheckBox_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
  1014. #define HICheckBox_HasUserInputFocus HIObject_HasUserInputFocus
  1015. #define HICheckBox_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
  1016. #define HICheckBox_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
  1017. #define HICheckBox_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
  1018. #define HICheckBox_SetTitle HIObject_SetTitle
  1019. #define HICheckBox_GetTitle HIObject_GetTitle
  1020. #define HICheckBox_Draw HIObject_Draw
  1021. #define HICheckBox_Erase HIObject_Erase
  1022. #define HICheckBox_Invalidate HIObject_Invalidate
  1023. #define HICheckBox_GetDrawingMode HIObject_GetDrawingMode
  1024. #define HICheckBox_SetDrawingMode HIObject_SetDrawingMode
  1025. #define HICheckBox_SetBackgroundPattern HIObject_SetBackgroundPattern
  1026. #define HICheckBox_GetBackgroundPattern HIObject_GetBackgroundPattern
  1027. #define HICheckBox_Cut HIObject_Cut
  1028. #define HICheckBox_Copy HIObject_Copy
  1029. #define HICheckBox_Paste HIObject_Paste
  1030. #define HICheckBox_Clear HIObject_Clear
  1031. #define HICheckBox_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
  1032. #define HICheckBox_AddStateChangeCallback HIObject_AddStateChangeCallback
  1033. #define HICheckBox_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
  1034. #define HICheckBox_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
  1035. #define HICheckBox_GetNewHIObject HIObject_GetNewHIObject
  1036. #define HICheckBox_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
  1037. #define HICheckBox_DrawContent HIObject_DrawContent
  1038. #define HICheckBox_EraseContent HIObject_EraseContent
  1039. #define HICheckBox_TranslatePoint HIObject_TranslatePoint
  1040. #define HICheckBox_TranslateRect HIObject_TranslateRect
  1041. #define HICheckBox_StateChanged HIObject_StateChanged
  1042. #define HICheckBox_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
  1043. #define HICheckBox_Verify HIObject_Verify
  1044. #define HICheckBox_somInit SOMObject_somInit
  1045. #define HICheckBox_somUninit SOMObject_somUninit
  1046. #define HICheckBox_somDuplicateReference SOMObject_somDuplicateReference
  1047. #define HICheckBox_somCompareReference SOMObject_somCompareReference
  1048. #define HICheckBox_somRelease SOMObject_somRelease
  1049. #define HICheckBox_somFree SOMObject_somFree
  1050. #define HICheckBox_somCanDelete SOMObject_somCanDelete
  1051. #define HICheckBox_somGetClass SOMObject_somGetClass
  1052. #define HICheckBox_somGetClassName SOMObject_somGetClassName
  1053. #define HICheckBox_somGetSize SOMObject_somGetSize
  1054. #define HICheckBox_somIsA SOMObject_somIsA
  1055. #define HICheckBox_somRespondsTo SOMObject_somRespondsTo
  1056. #define HICheckBox_somIsInstanceOf SOMObject_somIsInstanceOf
  1057. #define HICheckBox_somDispatch SOMObject_somDispatch
  1058. #define HICheckBox_somClassDispatch SOMObject_somClassDispatch
  1059. #define HICheckBox_somCastObj SOMObject_somCastObj
  1060. #define HICheckBox_somResetObj SOMObject_somResetObj
  1061. #define HICheckBox_somPrintSelf SOMObject_somPrintSelf
  1062. #define HICheckBox_somDumpSelf SOMObject_somDumpSelf
  1063. #define HICheckBox_somDumpSelfInt SOMObject_somDumpSelfInt
  1064. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  1065.  
  1066. #endif       /* SOM_HICheckBox_h */
  1067.  
  1068. #ifndef SOM_HIRadioButton_h
  1069. #define SOM_HIRadioButton_h
  1070.  
  1071.  
  1072. #include <som.h>
  1073.  
  1074. /*
  1075.  * -- This emitter treats Method Tokens as Thunks by default.
  1076.  * -- Use the sc modifier "nothunks" to change this default
  1077.  */
  1078. #undef somresolve_
  1079. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  1080.  
  1081. /*
  1082.  * Define the class name as an object type
  1083.  */
  1084. #ifndef HIRadioButton
  1085. #define HIRadioButton SOMObject
  1086. #endif
  1087. #include <HIControls.h>
  1088.  
  1089. /*
  1090.  * Start of user-defined types:
  1091.  */
  1092.  
  1093. /*
  1094.  * End of user-defined types.
  1095.  */
  1096.  
  1097. #define HIRadioButton_MajorVersion 0
  1098. #define HIRadioButton_MinorVersion 0
  1099.  
  1100. /*
  1101.  * External name shortening if required
  1102.  */
  1103. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  1104. #define HIRadioButtonClassData d
  1105. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  1106. /*--------------Migration------------*/
  1107.  
  1108. #ifdef OLDIBMSOMAPISUPPORT
  1109. #define HIRadioButton_classObj somNewClassReference(HIRadioButton)
  1110. #define _HIRadioButton HIRadioButton_classObj
  1111. #define HIRadioButtonCClassData HIRadioButtonClassData
  1112. #define HIRadioButtonNewClass(major,minor) somNewVersionedClassReference(HIRadioButton,major,minor)
  1113. #endif
  1114.  
  1115. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  1116. #define HIRadioButtonMetaClass SOMClass
  1117.  
  1118. #if PRAGMA_ALIGN_SUPPORTED
  1119. #  pragma options align=power
  1120. #endif
  1121.  
  1122. /*
  1123.  * Declare the class data structure
  1124.  */
  1125. SOMEXTERN struct HIRadioButtonClassDataStructure {
  1126. #ifdef OLDIBMSOMAPISUPPORT
  1127.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  1128. #else
  1129.     long zero;
  1130. #endif
  1131.     somStaticClassInfo *sci;
  1132.     somDToken        instanceDataToken;
  1133.     long reserved [3];
  1134.     somMToken InitRadioButton;
  1135. } SOMDLINK HIRadioButtonClassData;
  1136.  
  1137. #if PRAGMA_ALIGN_SUPPORTED
  1138. #  pragma options align=reset
  1139. #endif
  1140.  
  1141. #if !defined(HIRadioButton_Class_Source) && !defined(SOM_Module_hicontrols_Source)
  1142. #if PRAGMA_IMPORT_SUPPORTED
  1143. #pragma import list HIRadioButtonClassData
  1144. #endif
  1145. #endif
  1146.  
  1147.  
  1148. /*
  1149.  * New macro for HIRadioButton
  1150.  */
  1151. #define HIRadioButtonNew() somNewObject(HIRadioButton)
  1152.  
  1153. /*
  1154.  * New Method: InitRadioButton
  1155.  */
  1156. typedef OSStatus   (SOMLINK *somTD_HIRadioButton_InitRadioButton)(HIRadioButton *somSelf, Environment *ev,
  1157.         RefLabel* identifier,
  1158.         HIWindow* window,
  1159.         Rect* bounds);
  1160. #define somMD_HIRadioButton_InitRadioButton "::HIRadioButton::InitRadioButton"
  1161. #define HIRadioButton_InitRadioButton(somSelf,ev,identifier,window,bounds) \
  1162.     (SOM_Resolve(somSelf, HIRadioButton, InitRadioButton) \
  1163.     (somSelf,ev,identifier,window,bounds))
  1164. #ifndef SOMGD_InitRadioButton
  1165.     #if defined _InitRadioButton || defined __InitRadioButton
  1166.         #undef _InitRadioButton
  1167.         #undef __InitRadioButton
  1168.         #define SOMGD_InitRadioButton 1
  1169.     #else
  1170.         #define _InitRadioButton HIRadioButton_InitRadioButton
  1171.     #endif /* _InitRadioButton */
  1172. #endif /* SOMGD_InitRadioButton */
  1173. #ifndef SOM_DONT_USE_INHERITED_MACROS
  1174. #define HIRadioButton_InitControl HIControl_InitControl
  1175. #define HIRadioButton_SetValue HIControl_SetValue
  1176. #define HIRadioButton_GetValue HIControl_GetValue
  1177. #define HIRadioButton_SetMinimum HIControl_SetMinimum
  1178. #define HIRadioButton_GetMinimum HIControl_GetMinimum
  1179. #define HIRadioButton_SetMaximum HIControl_SetMaximum
  1180. #define HIRadioButton_GetMaximum HIControl_GetMaximum
  1181. #define HIRadioButton_SimulateSelection HIControl_SimulateSelection
  1182. #define HIRadioButton_GetEmbeddingParent HIPanel_GetEmbeddingParent
  1183. #define HIRadioButton_InitPanel HIPanel_InitPanel
  1184. #define HIRadioButton_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
  1185. #define HIRadioButton_HasValidContent HIPanel_HasValidContent
  1186. #define HIRadioButton_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
  1187. #define HIRadioButton_GetWindow HIObject_GetWindow
  1188. #define HIRadioButton_GetPort HIObject_GetPort
  1189. #define HIRadioButton_GetRefLabel HIObject_GetRefLabel
  1190. #define HIRadioButton_GetCollection HIObject_GetCollection
  1191. #define HIRadioButton_Init HIObject_Init
  1192. #define HIRadioButton_Terminate HIObject_Terminate
  1193. #define HIRadioButton_Clone HIObject_Clone
  1194. #define HIRadioButton_Release HIObject_Release
  1195. #define HIRadioButton_GetOwnerCount HIObject_GetOwnerCount
  1196. #define HIRadioButton_InitFromAERecord HIObject_InitFromAERecord
  1197. #define HIRadioButton_WriteToAERecord HIObject_WriteToAERecord
  1198. #define HIRadioButton_CalculateOptimalSize HIObject_CalculateOptimalSize
  1199. #define HIRadioButton_GetBoundingRect HIObject_GetBoundingRect
  1200. #define HIRadioButton_SetBoundingRect HIObject_SetBoundingRect
  1201. #define HIRadioButton_SetPosition HIObject_SetPosition
  1202. #define HIRadioButton_SetSize HIObject_SetSize
  1203. #define HIRadioButton_GetUpdateRect HIObject_GetUpdateRect
  1204. #define HIRadioButton_Enable HIObject_Enable
  1205. #define HIRadioButton_Disable HIObject_Disable
  1206. #define HIRadioButton_IsEnabled HIObject_IsEnabled
  1207. #define HIRadioButton_Show HIObject_Show
  1208. #define HIRadioButton_Hide HIObject_Hide
  1209. #define HIRadioButton_IsVisible HIObject_IsVisible
  1210. #define HIRadioButton_HandleAppleEvent HIObject_HandleAppleEvent
  1211. #define HIRadioButton_HandleActivate HIObject_HandleActivate
  1212. #define HIRadioButton_HandleDeactivate HIObject_HandleDeactivate
  1213. #define HIRadioButton_HandleNavigation HIObject_HandleNavigation
  1214. #define HIRadioButton_HandleMouseDownInContent HIObject_HandleMouseDownInContent
  1215. #define HIRadioButton_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
  1216. #define HIRadioButton_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
  1217. #define HIRadioButton_HandleMouseUpInContent HIObject_HandleMouseUpInContent
  1218. #define HIRadioButton_TakeUserInputFocus HIObject_TakeUserInputFocus
  1219. #define HIRadioButton_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
  1220. #define HIRadioButton_HasUserInputFocus HIObject_HasUserInputFocus
  1221. #define HIRadioButton_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
  1222. #define HIRadioButton_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
  1223. #define HIRadioButton_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
  1224. #define HIRadioButton_SetTitle HIObject_SetTitle
  1225. #define HIRadioButton_GetTitle HIObject_GetTitle
  1226. #define HIRadioButton_Draw HIObject_Draw
  1227. #define HIRadioButton_Erase HIObject_Erase
  1228. #define HIRadioButton_Invalidate HIObject_Invalidate
  1229. #define HIRadioButton_GetDrawingMode HIObject_GetDrawingMode
  1230. #define HIRadioButton_SetDrawingMode HIObject_SetDrawingMode
  1231. #define HIRadioButton_SetBackgroundPattern HIObject_SetBackgroundPattern
  1232. #define HIRadioButton_GetBackgroundPattern HIObject_GetBackgroundPattern
  1233. #define HIRadioButton_Cut HIObject_Cut
  1234. #define HIRadioButton_Copy HIObject_Copy
  1235. #define HIRadioButton_Paste HIObject_Paste
  1236. #define HIRadioButton_Clear HIObject_Clear
  1237. #define HIRadioButton_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
  1238. #define HIRadioButton_AddStateChangeCallback HIObject_AddStateChangeCallback
  1239. #define HIRadioButton_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
  1240. #define HIRadioButton_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
  1241. #define HIRadioButton_GetNewHIObject HIObject_GetNewHIObject
  1242. #define HIRadioButton_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
  1243. #define HIRadioButton_DrawContent HIObject_DrawContent
  1244. #define HIRadioButton_EraseContent HIObject_EraseContent
  1245. #define HIRadioButton_TranslatePoint HIObject_TranslatePoint
  1246. #define HIRadioButton_TranslateRect HIObject_TranslateRect
  1247. #define HIRadioButton_StateChanged HIObject_StateChanged
  1248. #define HIRadioButton_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
  1249. #define HIRadioButton_Verify HIObject_Verify
  1250. #define HIRadioButton_somInit SOMObject_somInit
  1251. #define HIRadioButton_somUninit SOMObject_somUninit
  1252. #define HIRadioButton_somDuplicateReference SOMObject_somDuplicateReference
  1253. #define HIRadioButton_somCompareReference SOMObject_somCompareReference
  1254. #define HIRadioButton_somRelease SOMObject_somRelease
  1255. #define HIRadioButton_somFree SOMObject_somFree
  1256. #define HIRadioButton_somCanDelete SOMObject_somCanDelete
  1257. #define HIRadioButton_somGetClass SOMObject_somGetClass
  1258. #define HIRadioButton_somGetClassName SOMObject_somGetClassName
  1259. #define HIRadioButton_somGetSize SOMObject_somGetSize
  1260. #define HIRadioButton_somIsA SOMObject_somIsA
  1261. #define HIRadioButton_somRespondsTo SOMObject_somRespondsTo
  1262. #define HIRadioButton_somIsInstanceOf SOMObject_somIsInstanceOf
  1263. #define HIRadioButton_somDispatch SOMObject_somDispatch
  1264. #define HIRadioButton_somClassDispatch SOMObject_somClassDispatch
  1265. #define HIRadioButton_somCastObj SOMObject_somCastObj
  1266. #define HIRadioButton_somResetObj SOMObject_somResetObj
  1267. #define HIRadioButton_somPrintSelf SOMObject_somPrintSelf
  1268. #define HIRadioButton_somDumpSelf SOMObject_somDumpSelf
  1269. #define HIRadioButton_somDumpSelfInt SOMObject_somDumpSelfInt
  1270. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  1271.  
  1272. #endif       /* SOM_HIRadioButton_h */
  1273.  
  1274. #ifndef SOM_HIDisclosureTriangle_h
  1275. #define SOM_HIDisclosureTriangle_h
  1276.  
  1277.  
  1278. #include <som.h>
  1279.  
  1280. /*
  1281.  * -- This emitter treats Method Tokens as Thunks by default.
  1282.  * -- Use the sc modifier "nothunks" to change this default
  1283.  */
  1284. #undef somresolve_
  1285. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  1286.  
  1287. /*
  1288.  * Define the class name as an object type
  1289.  */
  1290. #ifndef HIDisclosureTriangle
  1291. #define HIDisclosureTriangle SOMObject
  1292. #endif
  1293. #include <HIControls.h>
  1294.  
  1295. /*
  1296.  * Start of user-defined types:
  1297.  */
  1298.  
  1299. /*
  1300.  * End of user-defined types.
  1301.  */
  1302.  
  1303. #define HIDisclosureTriangle_MajorVersion 0
  1304. #define HIDisclosureTriangle_MinorVersion 0
  1305.  
  1306. /*
  1307.  * External name shortening if required
  1308.  */
  1309. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  1310. #define HIDisclosureTriangleClassData d
  1311. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  1312. /*--------------Migration------------*/
  1313.  
  1314. #ifdef OLDIBMSOMAPISUPPORT
  1315. #define HIDisclosureTriangle_classObj somNewClassReference(HIDisclosureTriangle)
  1316. #define _HIDisclosureTriangle HIDisclosureTriangle_classObj
  1317. #define HIDisclosureTriangleCClassData HIDisclosureTriangleClassData
  1318. #define HIDisclosureTriangleNewClass(major,minor) somNewVersionedClassReference(HIDisclosureTriangle,major,minor)
  1319. #endif
  1320.  
  1321. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  1322. #define HIDisclosureTriangleMetaClass SOMClass
  1323.  
  1324. #if PRAGMA_ALIGN_SUPPORTED
  1325. #  pragma options align=power
  1326. #endif
  1327.  
  1328. /*
  1329.  * Declare the class data structure
  1330.  */
  1331. SOMEXTERN struct HIDisclosureTriangleClassDataStructure {
  1332. #ifdef OLDIBMSOMAPISUPPORT
  1333.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  1334. #else
  1335.     long zero;
  1336. #endif
  1337.     somStaticClassInfo *sci;
  1338.     somDToken        instanceDataToken;
  1339.     long reserved [3];
  1340.     somMToken InitDisclosureTriangle;
  1341.     somMToken IsDisclosed;
  1342. } SOMDLINK HIDisclosureTriangleClassData;
  1343.  
  1344. #if PRAGMA_ALIGN_SUPPORTED
  1345. #  pragma options align=reset
  1346. #endif
  1347.  
  1348. #if !defined(HIDisclosureTriangle_Class_Source) && !defined(SOM_Module_hicontrols_Source)
  1349. #if PRAGMA_IMPORT_SUPPORTED
  1350. #pragma import list HIDisclosureTriangleClassData
  1351. #endif
  1352. #endif
  1353.  
  1354.  
  1355. /*
  1356.  * New macro for HIDisclosureTriangle
  1357.  */
  1358. #define HIDisclosureTriangleNew() somNewObject(HIDisclosureTriangle)
  1359.  
  1360. /*
  1361.  * New Method: InitDisclosureTriangle
  1362.  */
  1363. typedef OSStatus   (SOMLINK *somTD_HIDisclosureTriangle_InitDisclosureTriangle)(HIDisclosureTriangle *somSelf, Environment *ev,
  1364.         RefLabel* identifier,
  1365.         HIWindow* window,
  1366.         Point* anchor);
  1367. #define somMD_HIDisclosureTriangle_InitDisclosureTriangle "::HIDisclosureTriangle::InitDisclosureTriangle"
  1368. #define HIDisclosureTriangle_InitDisclosureTriangle(somSelf,ev,identifier,window,anchor) \
  1369.     (SOM_Resolve(somSelf, HIDisclosureTriangle, InitDisclosureTriangle) \
  1370.     (somSelf,ev,identifier,window,anchor))
  1371. #ifndef SOMGD_InitDisclosureTriangle
  1372.     #if defined _InitDisclosureTriangle || defined __InitDisclosureTriangle
  1373.         #undef _InitDisclosureTriangle
  1374.         #undef __InitDisclosureTriangle
  1375.         #define SOMGD_InitDisclosureTriangle 1
  1376.     #else
  1377.         #define _InitDisclosureTriangle HIDisclosureTriangle_InitDisclosureTriangle
  1378.     #endif /* _InitDisclosureTriangle */
  1379. #endif /* SOMGD_InitDisclosureTriangle */
  1380.  
  1381. /*
  1382.  * New Method: IsDisclosed
  1383.  */
  1384. typedef boolean   (SOMLINK *somTD_HIDisclosureTriangle_IsDisclosed)(HIDisclosureTriangle *somSelf, Environment *ev);
  1385. #define somMD_HIDisclosureTriangle_IsDisclosed "::HIDisclosureTriangle::IsDisclosed"
  1386. #define HIDisclosureTriangle_IsDisclosed(somSelf,ev) \
  1387.     (SOM_Resolve(somSelf, HIDisclosureTriangle, IsDisclosed) \
  1388.     (somSelf,ev))
  1389. #ifndef SOMGD_IsDisclosed
  1390.     #if defined _IsDisclosed || defined __IsDisclosed
  1391.         #undef _IsDisclosed
  1392.         #undef __IsDisclosed
  1393.         #define SOMGD_IsDisclosed 1
  1394.     #else
  1395.         #define _IsDisclosed HIDisclosureTriangle_IsDisclosed
  1396.     #endif /* _IsDisclosed */
  1397. #endif /* SOMGD_IsDisclosed */
  1398. #ifndef SOM_DONT_USE_INHERITED_MACROS
  1399. #define HIDisclosureTriangle_InitControl HIControl_InitControl
  1400. #define HIDisclosureTriangle_SetValue HIControl_SetValue
  1401. #define HIDisclosureTriangle_GetValue HIControl_GetValue
  1402. #define HIDisclosureTriangle_SetMinimum HIControl_SetMinimum
  1403. #define HIDisclosureTriangle_GetMinimum HIControl_GetMinimum
  1404. #define HIDisclosureTriangle_SetMaximum HIControl_SetMaximum
  1405. #define HIDisclosureTriangle_GetMaximum HIControl_GetMaximum
  1406. #define HIDisclosureTriangle_SimulateSelection HIControl_SimulateSelection
  1407. #define HIDisclosureTriangle_GetEmbeddingParent HIPanel_GetEmbeddingParent
  1408. #define HIDisclosureTriangle_InitPanel HIPanel_InitPanel
  1409. #define HIDisclosureTriangle_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
  1410. #define HIDisclosureTriangle_HasValidContent HIPanel_HasValidContent
  1411. #define HIDisclosureTriangle_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
  1412. #define HIDisclosureTriangle_GetWindow HIObject_GetWindow
  1413. #define HIDisclosureTriangle_GetPort HIObject_GetPort
  1414. #define HIDisclosureTriangle_GetRefLabel HIObject_GetRefLabel
  1415. #define HIDisclosureTriangle_GetCollection HIObject_GetCollection
  1416. #define HIDisclosureTriangle_Init HIObject_Init
  1417. #define HIDisclosureTriangle_Terminate HIObject_Terminate
  1418. #define HIDisclosureTriangle_Clone HIObject_Clone
  1419. #define HIDisclosureTriangle_Release HIObject_Release
  1420. #define HIDisclosureTriangle_GetOwnerCount HIObject_GetOwnerCount
  1421. #define HIDisclosureTriangle_InitFromAERecord HIObject_InitFromAERecord
  1422. #define HIDisclosureTriangle_WriteToAERecord HIObject_WriteToAERecord
  1423. #define HIDisclosureTriangle_CalculateOptimalSize HIObject_CalculateOptimalSize
  1424. #define HIDisclosureTriangle_GetBoundingRect HIObject_GetBoundingRect
  1425. #define HIDisclosureTriangle_SetBoundingRect HIObject_SetBoundingRect
  1426. #define HIDisclosureTriangle_SetPosition HIObject_SetPosition
  1427. #define HIDisclosureTriangle_SetSize HIObject_SetSize
  1428. #define HIDisclosureTriangle_GetUpdateRect HIObject_GetUpdateRect
  1429. #define HIDisclosureTriangle_Enable HIObject_Enable
  1430. #define HIDisclosureTriangle_Disable HIObject_Disable
  1431. #define HIDisclosureTriangle_IsEnabled HIObject_IsEnabled
  1432. #define HIDisclosureTriangle_Show HIObject_Show
  1433. #define HIDisclosureTriangle_Hide HIObject_Hide
  1434. #define HIDisclosureTriangle_IsVisible HIObject_IsVisible
  1435. #define HIDisclosureTriangle_HandleAppleEvent HIObject_HandleAppleEvent
  1436. #define HIDisclosureTriangle_HandleActivate HIObject_HandleActivate
  1437. #define HIDisclosureTriangle_HandleDeactivate HIObject_HandleDeactivate
  1438. #define HIDisclosureTriangle_HandleNavigation HIObject_HandleNavigation
  1439. #define HIDisclosureTriangle_HandleMouseDownInContent HIObject_HandleMouseDownInContent
  1440. #define HIDisclosureTriangle_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
  1441. #define HIDisclosureTriangle_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
  1442. #define HIDisclosureTriangle_HandleMouseUpInContent HIObject_HandleMouseUpInContent
  1443. #define HIDisclosureTriangle_TakeUserInputFocus HIObject_TakeUserInputFocus
  1444. #define HIDisclosureTriangle_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
  1445. #define HIDisclosureTriangle_HasUserInputFocus HIObject_HasUserInputFocus
  1446. #define HIDisclosureTriangle_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
  1447. #define HIDisclosureTriangle_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
  1448. #define HIDisclosureTriangle_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
  1449. #define HIDisclosureTriangle_SetTitle HIObject_SetTitle
  1450. #define HIDisclosureTriangle_GetTitle HIObject_GetTitle
  1451. #define HIDisclosureTriangle_Draw HIObject_Draw
  1452. #define HIDisclosureTriangle_Erase HIObject_Erase
  1453. #define HIDisclosureTriangle_Invalidate HIObject_Invalidate
  1454. #define HIDisclosureTriangle_GetDrawingMode HIObject_GetDrawingMode
  1455. #define HIDisclosureTriangle_SetDrawingMode HIObject_SetDrawingMode
  1456. #define HIDisclosureTriangle_SetBackgroundPattern HIObject_SetBackgroundPattern
  1457. #define HIDisclosureTriangle_GetBackgroundPattern HIObject_GetBackgroundPattern
  1458. #define HIDisclosureTriangle_Cut HIObject_Cut
  1459. #define HIDisclosureTriangle_Copy HIObject_Copy
  1460. #define HIDisclosureTriangle_Paste HIObject_Paste
  1461. #define HIDisclosureTriangle_Clear HIObject_Clear
  1462. #define HIDisclosureTriangle_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
  1463. #define HIDisclosureTriangle_AddStateChangeCallback HIObject_AddStateChangeCallback
  1464. #define HIDisclosureTriangle_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
  1465. #define HIDisclosureTriangle_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
  1466. #define HIDisclosureTriangle_GetNewHIObject HIObject_GetNewHIObject
  1467. #define HIDisclosureTriangle_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
  1468. #define HIDisclosureTriangle_DrawContent HIObject_DrawContent
  1469. #define HIDisclosureTriangle_EraseContent HIObject_EraseContent
  1470. #define HIDisclosureTriangle_TranslatePoint HIObject_TranslatePoint
  1471. #define HIDisclosureTriangle_TranslateRect HIObject_TranslateRect
  1472. #define HIDisclosureTriangle_StateChanged HIObject_StateChanged
  1473. #define HIDisclosureTriangle_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
  1474. #define HIDisclosureTriangle_Verify HIObject_Verify
  1475. #define HIDisclosureTriangle_somInit SOMObject_somInit
  1476. #define HIDisclosureTriangle_somUninit SOMObject_somUninit
  1477. #define HIDisclosureTriangle_somDuplicateReference SOMObject_somDuplicateReference
  1478. #define HIDisclosureTriangle_somCompareReference SOMObject_somCompareReference
  1479. #define HIDisclosureTriangle_somRelease SOMObject_somRelease
  1480. #define HIDisclosureTriangle_somFree SOMObject_somFree
  1481. #define HIDisclosureTriangle_somCanDelete SOMObject_somCanDelete
  1482. #define HIDisclosureTriangle_somGetClass SOMObject_somGetClass
  1483. #define HIDisclosureTriangle_somGetClassName SOMObject_somGetClassName
  1484. #define HIDisclosureTriangle_somGetSize SOMObject_somGetSize
  1485. #define HIDisclosureTriangle_somIsA SOMObject_somIsA
  1486. #define HIDisclosureTriangle_somRespondsTo SOMObject_somRespondsTo
  1487. #define HIDisclosureTriangle_somIsInstanceOf SOMObject_somIsInstanceOf
  1488. #define HIDisclosureTriangle_somDispatch SOMObject_somDispatch
  1489. #define HIDisclosureTriangle_somClassDispatch SOMObject_somClassDispatch
  1490. #define HIDisclosureTriangle_somCastObj SOMObject_somCastObj
  1491. #define HIDisclosureTriangle_somResetObj SOMObject_somResetObj
  1492. #define HIDisclosureTriangle_somPrintSelf SOMObject_somPrintSelf
  1493. #define HIDisclosureTriangle_somDumpSelf SOMObject_somDumpSelf
  1494. #define HIDisclosureTriangle_somDumpSelfInt SOMObject_somDumpSelfInt
  1495. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  1496.  
  1497. #endif       /* SOM_HIDisclosureTriangle_h */
  1498.  
  1499. #ifndef SOM_HIScrollBar_h
  1500. #define SOM_HIScrollBar_h
  1501.  
  1502.  
  1503. #include <som.h>
  1504.  
  1505. /*
  1506.  * -- This emitter treats Method Tokens as Thunks by default.
  1507.  * -- Use the sc modifier "nothunks" to change this default
  1508.  */
  1509. #undef somresolve_
  1510. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  1511.  
  1512. /*
  1513.  * Define the class name as an object type
  1514.  */
  1515. #ifndef HIScrollBar
  1516. #define HIScrollBar SOMObject
  1517. #endif
  1518. #include <HIControls.h>
  1519.  
  1520. /*
  1521.  * Start of user-defined types:
  1522.  */
  1523.  
  1524. /*
  1525.  * End of user-defined types.
  1526.  */
  1527.  
  1528. #define HIScrollBar_MajorVersion 0
  1529. #define HIScrollBar_MinorVersion 0
  1530.  
  1531. /*
  1532.  * External name shortening if required
  1533.  */
  1534. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  1535. #define HIScrollBarClassData d
  1536. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  1537. /*--------------Migration------------*/
  1538.  
  1539. #ifdef OLDIBMSOMAPISUPPORT
  1540. #define HIScrollBar_classObj somNewClassReference(HIScrollBar)
  1541. #define _HIScrollBar HIScrollBar_classObj
  1542. #define HIScrollBarCClassData HIScrollBarClassData
  1543. #define HIScrollBarNewClass(major,minor) somNewVersionedClassReference(HIScrollBar,major,minor)
  1544. #endif
  1545.  
  1546. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  1547. #define HIScrollBarMetaClass SOMClass
  1548.  
  1549. #if PRAGMA_ALIGN_SUPPORTED
  1550. #  pragma options align=power
  1551. #endif
  1552.  
  1553. /*
  1554.  * Declare the class data structure
  1555.  */
  1556. SOMEXTERN struct HIScrollBarClassDataStructure {
  1557. #ifdef OLDIBMSOMAPISUPPORT
  1558.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  1559. #else
  1560.     long zero;
  1561. #endif
  1562.     somStaticClassInfo *sci;
  1563.     somDToken        instanceDataToken;
  1564.     long reserved [3];
  1565.     somMToken InitScrollBar;
  1566.     somMToken SetArrowDelta;
  1567.     somMToken GetArrowDelta;
  1568.     somMToken SetPageDelta;
  1569.     somMToken GetPageDelta;
  1570. } SOMDLINK HIScrollBarClassData;
  1571.  
  1572. #if PRAGMA_ALIGN_SUPPORTED
  1573. #  pragma options align=reset
  1574. #endif
  1575.  
  1576. #if !defined(HIScrollBar_Class_Source) && !defined(SOM_Module_hicontrols_Source)
  1577. #if PRAGMA_IMPORT_SUPPORTED
  1578. #pragma import list HIScrollBarClassData
  1579. #endif
  1580. #endif
  1581.  
  1582.  
  1583. /*
  1584.  * New macro for HIScrollBar
  1585.  */
  1586. #define HIScrollBarNew() somNewObject(HIScrollBar)
  1587.  
  1588. /*
  1589.  * New Method: InitScrollBar
  1590.  */
  1591. typedef OSStatus   (SOMLINK *somTD_HIScrollBar_InitScrollBar)(HIScrollBar *somSelf, Environment *ev,
  1592.         RefLabel* identifier,
  1593.         HIWindow* window,
  1594.         Rect* bounds,
  1595.         SInt32 value,
  1596.         SInt32 minimumValue,
  1597.         SInt32 maximumValue);
  1598. #define somMD_HIScrollBar_InitScrollBar "::HIScrollBar::InitScrollBar"
  1599. #define HIScrollBar_InitScrollBar(somSelf,ev,identifier,window,bounds,value,minimumValue,maximumValue) \
  1600.     (SOM_Resolve(somSelf, HIScrollBar, InitScrollBar) \
  1601.     (somSelf,ev,identifier,window,bounds,value,minimumValue,maximumValue))
  1602. #ifndef SOMGD_InitScrollBar
  1603.     #if defined _InitScrollBar || defined __InitScrollBar
  1604.         #undef _InitScrollBar
  1605.         #undef __InitScrollBar
  1606.         #define SOMGD_InitScrollBar 1
  1607.     #else
  1608.         #define _InitScrollBar HIScrollBar_InitScrollBar
  1609.     #endif /* _InitScrollBar */
  1610. #endif /* SOMGD_InitScrollBar */
  1611.  
  1612. /*
  1613.  * New Method: SetArrowDelta
  1614.  */
  1615. typedef void   (SOMLINK *somTD_HIScrollBar_SetArrowDelta)(HIScrollBar *somSelf, Environment *ev,
  1616.         UInt32 delta);
  1617. #define somMD_HIScrollBar_SetArrowDelta "::HIScrollBar::SetArrowDelta"
  1618. #define HIScrollBar_SetArrowDelta(somSelf,ev,delta) \
  1619.     (SOM_Resolve(somSelf, HIScrollBar, SetArrowDelta) \
  1620.     (somSelf,ev,delta))
  1621. #ifndef SOMGD_SetArrowDelta
  1622.     #if defined _SetArrowDelta || defined __SetArrowDelta
  1623.         #undef _SetArrowDelta
  1624.         #undef __SetArrowDelta
  1625.         #define SOMGD_SetArrowDelta 1
  1626.     #else
  1627.         #define _SetArrowDelta HIScrollBar_SetArrowDelta
  1628.     #endif /* _SetArrowDelta */
  1629. #endif /* SOMGD_SetArrowDelta */
  1630.  
  1631. /*
  1632.  * New Method: GetArrowDelta
  1633.  */
  1634. typedef UInt32   (SOMLINK *somTD_HIScrollBar_GetArrowDelta)(HIScrollBar *somSelf, Environment *ev);
  1635. #define somMD_HIScrollBar_GetArrowDelta "::HIScrollBar::GetArrowDelta"
  1636. #define HIScrollBar_GetArrowDelta(somSelf,ev) \
  1637.     (SOM_Resolve(somSelf, HIScrollBar, GetArrowDelta) \
  1638.     (somSelf,ev))
  1639. #ifndef SOMGD_GetArrowDelta
  1640.     #if defined _GetArrowDelta || defined __GetArrowDelta
  1641.         #undef _GetArrowDelta
  1642.         #undef __GetArrowDelta
  1643.         #define SOMGD_GetArrowDelta 1
  1644.     #else
  1645.         #define _GetArrowDelta HIScrollBar_GetArrowDelta
  1646.     #endif /* _GetArrowDelta */
  1647. #endif /* SOMGD_GetArrowDelta */
  1648.  
  1649. /*
  1650.  * New Method: SetPageDelta
  1651.  */
  1652. typedef void   (SOMLINK *somTD_HIScrollBar_SetPageDelta)(HIScrollBar *somSelf, Environment *ev,
  1653.         UInt32 delta);
  1654. #define somMD_HIScrollBar_SetPageDelta "::HIScrollBar::SetPageDelta"
  1655. #define HIScrollBar_SetPageDelta(somSelf,ev,delta) \
  1656.     (SOM_Resolve(somSelf, HIScrollBar, SetPageDelta) \
  1657.     (somSelf,ev,delta))
  1658. #ifndef SOMGD_SetPageDelta
  1659.     #if defined _SetPageDelta || defined __SetPageDelta
  1660.         #undef _SetPageDelta
  1661.         #undef __SetPageDelta
  1662.         #define SOMGD_SetPageDelta 1
  1663.     #else
  1664.         #define _SetPageDelta HIScrollBar_SetPageDelta
  1665.     #endif /* _SetPageDelta */
  1666. #endif /* SOMGD_SetPageDelta */
  1667.  
  1668. /*
  1669.  * New Method: GetPageDelta
  1670.  */
  1671. typedef UInt32   (SOMLINK *somTD_HIScrollBar_GetPageDelta)(HIScrollBar *somSelf, Environment *ev);
  1672. #define somMD_HIScrollBar_GetPageDelta "::HIScrollBar::GetPageDelta"
  1673. #define HIScrollBar_GetPageDelta(somSelf,ev) \
  1674.     (SOM_Resolve(somSelf, HIScrollBar, GetPageDelta) \
  1675.     (somSelf,ev))
  1676. #ifndef SOMGD_GetPageDelta
  1677.     #if defined _GetPageDelta || defined __GetPageDelta
  1678.         #undef _GetPageDelta
  1679.         #undef __GetPageDelta
  1680.         #define SOMGD_GetPageDelta 1
  1681.     #else
  1682.         #define _GetPageDelta HIScrollBar_GetPageDelta
  1683.     #endif /* _GetPageDelta */
  1684. #endif /* SOMGD_GetPageDelta */
  1685. #ifndef SOM_DONT_USE_INHERITED_MACROS
  1686. #define HIScrollBar_InitControl HIControl_InitControl
  1687. #define HIScrollBar_SetValue HIControl_SetValue
  1688. #define HIScrollBar_GetValue HIControl_GetValue
  1689. #define HIScrollBar_SetMinimum HIControl_SetMinimum
  1690. #define HIScrollBar_GetMinimum HIControl_GetMinimum
  1691. #define HIScrollBar_SetMaximum HIControl_SetMaximum
  1692. #define HIScrollBar_GetMaximum HIControl_GetMaximum
  1693. #define HIScrollBar_SimulateSelection HIControl_SimulateSelection
  1694. #define HIScrollBar_GetEmbeddingParent HIPanel_GetEmbeddingParent
  1695. #define HIScrollBar_InitPanel HIPanel_InitPanel
  1696. #define HIScrollBar_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
  1697. #define HIScrollBar_HasValidContent HIPanel_HasValidContent
  1698. #define HIScrollBar_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
  1699. #define HIScrollBar_GetWindow HIObject_GetWindow
  1700. #define HIScrollBar_GetPort HIObject_GetPort
  1701. #define HIScrollBar_GetRefLabel HIObject_GetRefLabel
  1702. #define HIScrollBar_GetCollection HIObject_GetCollection
  1703. #define HIScrollBar_Init HIObject_Init
  1704. #define HIScrollBar_Terminate HIObject_Terminate
  1705. #define HIScrollBar_Clone HIObject_Clone
  1706. #define HIScrollBar_Release HIObject_Release
  1707. #define HIScrollBar_GetOwnerCount HIObject_GetOwnerCount
  1708. #define HIScrollBar_InitFromAERecord HIObject_InitFromAERecord
  1709. #define HIScrollBar_WriteToAERecord HIObject_WriteToAERecord
  1710. #define HIScrollBar_CalculateOptimalSize HIObject_CalculateOptimalSize
  1711. #define HIScrollBar_GetBoundingRect HIObject_GetBoundingRect
  1712. #define HIScrollBar_SetBoundingRect HIObject_SetBoundingRect
  1713. #define HIScrollBar_SetPosition HIObject_SetPosition
  1714. #define HIScrollBar_SetSize HIObject_SetSize
  1715. #define HIScrollBar_GetUpdateRect HIObject_GetUpdateRect
  1716. #define HIScrollBar_Enable HIObject_Enable
  1717. #define HIScrollBar_Disable HIObject_Disable
  1718. #define HIScrollBar_IsEnabled HIObject_IsEnabled
  1719. #define HIScrollBar_Show HIObject_Show
  1720. #define HIScrollBar_Hide HIObject_Hide
  1721. #define HIScrollBar_IsVisible HIObject_IsVisible
  1722. #define HIScrollBar_HandleAppleEvent HIObject_HandleAppleEvent
  1723. #define HIScrollBar_HandleActivate HIObject_HandleActivate
  1724. #define HIScrollBar_HandleDeactivate HIObject_HandleDeactivate
  1725. #define HIScrollBar_HandleNavigation HIObject_HandleNavigation
  1726. #define HIScrollBar_HandleMouseDownInContent HIObject_HandleMouseDownInContent
  1727. #define HIScrollBar_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
  1728. #define HIScrollBar_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
  1729. #define HIScrollBar_HandleMouseUpInContent HIObject_HandleMouseUpInContent
  1730. #define HIScrollBar_TakeUserInputFocus HIObject_TakeUserInputFocus
  1731. #define HIScrollBar_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
  1732. #define HIScrollBar_HasUserInputFocus HIObject_HasUserInputFocus
  1733. #define HIScrollBar_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
  1734. #define HIScrollBar_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
  1735. #define HIScrollBar_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
  1736. #define HIScrollBar_SetTitle HIObject_SetTitle
  1737. #define HIScrollBar_GetTitle HIObject_GetTitle
  1738. #define HIScrollBar_Draw HIObject_Draw
  1739. #define HIScrollBar_Erase HIObject_Erase
  1740. #define HIScrollBar_Invalidate HIObject_Invalidate
  1741. #define HIScrollBar_GetDrawingMode HIObject_GetDrawingMode
  1742. #define HIScrollBar_SetDrawingMode HIObject_SetDrawingMode
  1743. #define HIScrollBar_SetBackgroundPattern HIObject_SetBackgroundPattern
  1744. #define HIScrollBar_GetBackgroundPattern HIObject_GetBackgroundPattern
  1745. #define HIScrollBar_Cut HIObject_Cut
  1746. #define HIScrollBar_Copy HIObject_Copy
  1747. #define HIScrollBar_Paste HIObject_Paste
  1748. #define HIScrollBar_Clear HIObject_Clear
  1749. #define HIScrollBar_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
  1750. #define HIScrollBar_AddStateChangeCallback HIObject_AddStateChangeCallback
  1751. #define HIScrollBar_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
  1752. #define HIScrollBar_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
  1753. #define HIScrollBar_GetNewHIObject HIObject_GetNewHIObject
  1754. #define HIScrollBar_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
  1755. #define HIScrollBar_DrawContent HIObject_DrawContent
  1756. #define HIScrollBar_EraseContent HIObject_EraseContent
  1757. #define HIScrollBar_TranslatePoint HIObject_TranslatePoint
  1758. #define HIScrollBar_TranslateRect HIObject_TranslateRect
  1759. #define HIScrollBar_StateChanged HIObject_StateChanged
  1760. #define HIScrollBar_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
  1761. #define HIScrollBar_Verify HIObject_Verify
  1762. #define HIScrollBar_somInit SOMObject_somInit
  1763. #define HIScrollBar_somUninit SOMObject_somUninit
  1764. #define HIScrollBar_somDuplicateReference SOMObject_somDuplicateReference
  1765. #define HIScrollBar_somCompareReference SOMObject_somCompareReference
  1766. #define HIScrollBar_somRelease SOMObject_somRelease
  1767. #define HIScrollBar_somFree SOMObject_somFree
  1768. #define HIScrollBar_somCanDelete SOMObject_somCanDelete
  1769. #define HIScrollBar_somGetClass SOMObject_somGetClass
  1770. #define HIScrollBar_somGetClassName SOMObject_somGetClassName
  1771. #define HIScrollBar_somGetSize SOMObject_somGetSize
  1772. #define HIScrollBar_somIsA SOMObject_somIsA
  1773. #define HIScrollBar_somRespondsTo SOMObject_somRespondsTo
  1774. #define HIScrollBar_somIsInstanceOf SOMObject_somIsInstanceOf
  1775. #define HIScrollBar_somDispatch SOMObject_somDispatch
  1776. #define HIScrollBar_somClassDispatch SOMObject_somClassDispatch
  1777. #define HIScrollBar_somCastObj SOMObject_somCastObj
  1778. #define HIScrollBar_somResetObj SOMObject_somResetObj
  1779. #define HIScrollBar_somPrintSelf SOMObject_somPrintSelf
  1780. #define HIScrollBar_somDumpSelf SOMObject_somDumpSelf
  1781. #define HIScrollBar_somDumpSelfInt SOMObject_somDumpSelfInt
  1782. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  1783.  
  1784. #endif       /* SOM_HIScrollBar_h */
  1785.  
  1786. #ifndef SOM_HISlider_h
  1787. #define SOM_HISlider_h
  1788.  
  1789.  
  1790. #include <som.h>
  1791.  
  1792. /*
  1793.  * -- This emitter treats Method Tokens as Thunks by default.
  1794.  * -- Use the sc modifier "nothunks" to change this default
  1795.  */
  1796. #undef somresolve_
  1797. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  1798.  
  1799. /*
  1800.  * Define the class name as an object type
  1801.  */
  1802. #ifndef HISlider
  1803. #define HISlider SOMObject
  1804. #endif
  1805. #include <HIControls.h>
  1806.  
  1807. /*
  1808.  * Start of user-defined types:
  1809.  */
  1810.  
  1811. /*
  1812.  * End of user-defined types.
  1813.  */
  1814.  
  1815. #define HISlider_MajorVersion 0
  1816. #define HISlider_MinorVersion 0
  1817.  
  1818. /*
  1819.  * External name shortening if required
  1820.  */
  1821. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  1822. #define HISliderClassData d
  1823. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  1824. /*--------------Migration------------*/
  1825.  
  1826. #ifdef OLDIBMSOMAPISUPPORT
  1827. #define HISlider_classObj somNewClassReference(HISlider)
  1828. #define _HISlider HISlider_classObj
  1829. #define HISliderCClassData HISliderClassData
  1830. #define HISliderNewClass(major,minor) somNewVersionedClassReference(HISlider,major,minor)
  1831. #endif
  1832.  
  1833. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  1834. #define HISliderMetaClass SOMClass
  1835.  
  1836. #if PRAGMA_ALIGN_SUPPORTED
  1837. #  pragma options align=power
  1838. #endif
  1839.  
  1840. /*
  1841.  * Declare the class data structure
  1842.  */
  1843. SOMEXTERN struct HISliderClassDataStructure {
  1844. #ifdef OLDIBMSOMAPISUPPORT
  1845.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  1846. #else
  1847.     long zero;
  1848. #endif
  1849.     somStaticClassInfo *sci;
  1850.     somDToken        instanceDataToken;
  1851.     long reserved [3];
  1852.     somMToken InitSlider;
  1853. } SOMDLINK HISliderClassData;
  1854.  
  1855. #if PRAGMA_ALIGN_SUPPORTED
  1856. #  pragma options align=reset
  1857. #endif
  1858.  
  1859. #if !defined(HISlider_Class_Source) && !defined(SOM_Module_hicontrols_Source)
  1860. #if PRAGMA_IMPORT_SUPPORTED
  1861. #pragma import list HISliderClassData
  1862. #endif
  1863. #endif
  1864.  
  1865.  
  1866. /*
  1867.  * New macro for HISlider
  1868.  */
  1869. #define HISliderNew() somNewObject(HISlider)
  1870.  
  1871. /*
  1872.  * New Method: InitSlider
  1873.  */
  1874. typedef OSStatus   (SOMLINK *somTD_HISlider_InitSlider)(HISlider *somSelf, Environment *ev,
  1875.         RefLabel* identifier,
  1876.         HIWindow* window,
  1877.         Rect* bounds,
  1878.         SInt32 value,
  1879.         SInt32 minimumValue,
  1880.         SInt32 maximumValue);
  1881. #define somMD_HISlider_InitSlider "::HISlider::InitSlider"
  1882. #define HISlider_InitSlider(somSelf,ev,identifier,window,bounds,value,minimumValue,maximumValue) \
  1883.     (SOM_Resolve(somSelf, HISlider, InitSlider) \
  1884.     (somSelf,ev,identifier,window,bounds,value,minimumValue,maximumValue))
  1885. #ifndef SOMGD_InitSlider
  1886.     #if defined _InitSlider || defined __InitSlider
  1887.         #undef _InitSlider
  1888.         #undef __InitSlider
  1889.         #define SOMGD_InitSlider 1
  1890.     #else
  1891.         #define _InitSlider HISlider_InitSlider
  1892.     #endif /* _InitSlider */
  1893. #endif /* SOMGD_InitSlider */
  1894. #ifndef SOM_DONT_USE_INHERITED_MACROS
  1895. #define HISlider_InitControl HIControl_InitControl
  1896. #define HISlider_SetValue HIControl_SetValue
  1897. #define HISlider_GetValue HIControl_GetValue
  1898. #define HISlider_SetMinimum HIControl_SetMinimum
  1899. #define HISlider_GetMinimum HIControl_GetMinimum
  1900. #define HISlider_SetMaximum HIControl_SetMaximum
  1901. #define HISlider_GetMaximum HIControl_GetMaximum
  1902. #define HISlider_SimulateSelection HIControl_SimulateSelection
  1903. #define HISlider_GetEmbeddingParent HIPanel_GetEmbeddingParent
  1904. #define HISlider_InitPanel HIPanel_InitPanel
  1905. #define HISlider_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
  1906. #define HISlider_HasValidContent HIPanel_HasValidContent
  1907. #define HISlider_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
  1908. #define HISlider_GetWindow HIObject_GetWindow
  1909. #define HISlider_GetPort HIObject_GetPort
  1910. #define HISlider_GetRefLabel HIObject_GetRefLabel
  1911. #define HISlider_GetCollection HIObject_GetCollection
  1912. #define HISlider_Init HIObject_Init
  1913. #define HISlider_Terminate HIObject_Terminate
  1914. #define HISlider_Clone HIObject_Clone
  1915. #define HISlider_Release HIObject_Release
  1916. #define HISlider_GetOwnerCount HIObject_GetOwnerCount
  1917. #define HISlider_InitFromAERecord HIObject_InitFromAERecord
  1918. #define HISlider_WriteToAERecord HIObject_WriteToAERecord
  1919. #define HISlider_CalculateOptimalSize HIObject_CalculateOptimalSize
  1920. #define HISlider_GetBoundingRect HIObject_GetBoundingRect
  1921. #define HISlider_SetBoundingRect HIObject_SetBoundingRect
  1922. #define HISlider_SetPosition HIObject_SetPosition
  1923. #define HISlider_SetSize HIObject_SetSize
  1924. #define HISlider_GetUpdateRect HIObject_GetUpdateRect
  1925. #define HISlider_Enable HIObject_Enable
  1926. #define HISlider_Disable HIObject_Disable
  1927. #define HISlider_IsEnabled HIObject_IsEnabled
  1928. #define HISlider_Show HIObject_Show
  1929. #define HISlider_Hide HIObject_Hide
  1930. #define HISlider_IsVisible HIObject_IsVisible
  1931. #define HISlider_HandleAppleEvent HIObject_HandleAppleEvent
  1932. #define HISlider_HandleActivate HIObject_HandleActivate
  1933. #define HISlider_HandleDeactivate HIObject_HandleDeactivate
  1934. #define HISlider_HandleNavigation HIObject_HandleNavigation
  1935. #define HISlider_HandleMouseDownInContent HIObject_HandleMouseDownInContent
  1936. #define HISlider_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
  1937. #define HISlider_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
  1938. #define HISlider_HandleMouseUpInContent HIObject_HandleMouseUpInContent
  1939. #define HISlider_TakeUserInputFocus HIObject_TakeUserInputFocus
  1940. #define HISlider_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
  1941. #define HISlider_HasUserInputFocus HIObject_HasUserInputFocus
  1942. #define HISlider_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
  1943. #define HISlider_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
  1944. #define HISlider_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
  1945. #define HISlider_SetTitle HIObject_SetTitle
  1946. #define HISlider_GetTitle HIObject_GetTitle
  1947. #define HISlider_Draw HIObject_Draw
  1948. #define HISlider_Erase HIObject_Erase
  1949. #define HISlider_Invalidate HIObject_Invalidate
  1950. #define HISlider_GetDrawingMode HIObject_GetDrawingMode
  1951. #define HISlider_SetDrawingMode HIObject_SetDrawingMode
  1952. #define HISlider_SetBackgroundPattern HIObject_SetBackgroundPattern
  1953. #define HISlider_GetBackgroundPattern HIObject_GetBackgroundPattern
  1954. #define HISlider_Cut HIObject_Cut
  1955. #define HISlider_Copy HIObject_Copy
  1956. #define HISlider_Paste HIObject_Paste
  1957. #define HISlider_Clear HIObject_Clear
  1958. #define HISlider_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
  1959. #define HISlider_AddStateChangeCallback HIObject_AddStateChangeCallback
  1960. #define HISlider_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
  1961. #define HISlider_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
  1962. #define HISlider_GetNewHIObject HIObject_GetNewHIObject
  1963. #define HISlider_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
  1964. #define HISlider_DrawContent HIObject_DrawContent
  1965. #define HISlider_EraseContent HIObject_EraseContent
  1966. #define HISlider_TranslatePoint HIObject_TranslatePoint
  1967. #define HISlider_TranslateRect HIObject_TranslateRect
  1968. #define HISlider_StateChanged HIObject_StateChanged
  1969. #define HISlider_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
  1970. #define HISlider_Verify HIObject_Verify
  1971. #define HISlider_somInit SOMObject_somInit
  1972. #define HISlider_somUninit SOMObject_somUninit
  1973. #define HISlider_somDuplicateReference SOMObject_somDuplicateReference
  1974. #define HISlider_somCompareReference SOMObject_somCompareReference
  1975. #define HISlider_somRelease SOMObject_somRelease
  1976. #define HISlider_somFree SOMObject_somFree
  1977. #define HISlider_somCanDelete SOMObject_somCanDelete
  1978. #define HISlider_somGetClass SOMObject_somGetClass
  1979. #define HISlider_somGetClassName SOMObject_somGetClassName
  1980. #define HISlider_somGetSize SOMObject_somGetSize
  1981. #define HISlider_somIsA SOMObject_somIsA
  1982. #define HISlider_somRespondsTo SOMObject_somRespondsTo
  1983. #define HISlider_somIsInstanceOf SOMObject_somIsInstanceOf
  1984. #define HISlider_somDispatch SOMObject_somDispatch
  1985. #define HISlider_somClassDispatch SOMObject_somClassDispatch
  1986. #define HISlider_somCastObj SOMObject_somCastObj
  1987. #define HISlider_somResetObj SOMObject_somResetObj
  1988. #define HISlider_somPrintSelf SOMObject_somPrintSelf
  1989. #define HISlider_somDumpSelf SOMObject_somDumpSelf
  1990. #define HISlider_somDumpSelfInt SOMObject_somDumpSelfInt
  1991. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  1992.  
  1993. #endif       /* SOM_HISlider_h */
  1994.  
  1995. #ifndef SOM_HILittleArrows_h
  1996. #define SOM_HILittleArrows_h
  1997.  
  1998.  
  1999. #include <som.h>
  2000.  
  2001. /*
  2002.  * -- This emitter treats Method Tokens as Thunks by default.
  2003.  * -- Use the sc modifier "nothunks" to change this default
  2004.  */
  2005. #undef somresolve_
  2006. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  2007.  
  2008. /*
  2009.  * Define the class name as an object type
  2010.  */
  2011. #ifndef HILittleArrows
  2012. #define HILittleArrows SOMObject
  2013. #endif
  2014. #include <HIControls.h>
  2015.  
  2016. /*
  2017.  * Start of user-defined types:
  2018.  */
  2019.  
  2020. /*
  2021.  * End of user-defined types.
  2022.  */
  2023.  
  2024. #define HILittleArrows_MajorVersion 0
  2025. #define HILittleArrows_MinorVersion 0
  2026.  
  2027. /*
  2028.  * External name shortening if required
  2029.  */
  2030. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  2031. #define HILittleArrowsClassData d
  2032. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  2033. /*--------------Migration------------*/
  2034.  
  2035. #ifdef OLDIBMSOMAPISUPPORT
  2036. #define HILittleArrows_classObj somNewClassReference(HILittleArrows)
  2037. #define _HILittleArrows HILittleArrows_classObj
  2038. #define HILittleArrowsCClassData HILittleArrowsClassData
  2039. #define HILittleArrowsNewClass(major,minor) somNewVersionedClassReference(HILittleArrows,major,minor)
  2040. #endif
  2041.  
  2042. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  2043. #define HILittleArrowsMetaClass SOMClass
  2044.  
  2045. #if PRAGMA_ALIGN_SUPPORTED
  2046. #  pragma options align=power
  2047. #endif
  2048.  
  2049. /*
  2050.  * Declare the class data structure
  2051.  */
  2052. SOMEXTERN struct HILittleArrowsClassDataStructure {
  2053. #ifdef OLDIBMSOMAPISUPPORT
  2054.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  2055. #else
  2056.     long zero;
  2057. #endif
  2058.     somStaticClassInfo *sci;
  2059.     somDToken        instanceDataToken;
  2060.     long reserved [3];
  2061.     somMToken InitLittleArrows;
  2062.     somMToken SetArrowDelta;
  2063.     somMToken GetArrowDelta;
  2064. } SOMDLINK HILittleArrowsClassData;
  2065.  
  2066. #if PRAGMA_ALIGN_SUPPORTED
  2067. #  pragma options align=reset
  2068. #endif
  2069.  
  2070. #if !defined(HILittleArrows_Class_Source) && !defined(SOM_Module_hicontrols_Source)
  2071. #if PRAGMA_IMPORT_SUPPORTED
  2072. #pragma import list HILittleArrowsClassData
  2073. #endif
  2074. #endif
  2075.  
  2076.  
  2077. /*
  2078.  * New macro for HILittleArrows
  2079.  */
  2080. #define HILittleArrowsNew() somNewObject(HILittleArrows)
  2081.  
  2082. /*
  2083.  * New Method: InitLittleArrows
  2084.  */
  2085. typedef OSStatus   (SOMLINK *somTD_HILittleArrows_InitLittleArrows)(HILittleArrows *somSelf, Environment *ev,
  2086.         RefLabel* identifier,
  2087.         HIWindow* window,
  2088.         Point* anchor,
  2089.         SInt32 value,
  2090.         SInt32 minimumValue,
  2091.         SInt32 maximumValue);
  2092. #define somMD_HILittleArrows_InitLittleArrows "::HILittleArrows::InitLittleArrows"
  2093. #define HILittleArrows_InitLittleArrows(somSelf,ev,identifier,window,anchor,value,minimumValue,maximumValue) \
  2094.     (SOM_Resolve(somSelf, HILittleArrows, InitLittleArrows) \
  2095.     (somSelf,ev,identifier,window,anchor,value,minimumValue,maximumValue))
  2096. #ifndef SOMGD_InitLittleArrows
  2097.     #if defined _InitLittleArrows || defined __InitLittleArrows
  2098.         #undef _InitLittleArrows
  2099.         #undef __InitLittleArrows
  2100.         #define SOMGD_InitLittleArrows 1
  2101.     #else
  2102.         #define _InitLittleArrows HILittleArrows_InitLittleArrows
  2103.     #endif /* _InitLittleArrows */
  2104. #endif /* SOMGD_InitLittleArrows */
  2105.  
  2106. /*
  2107.  * New Method: SetArrowDelta
  2108.  */
  2109. typedef void   (SOMLINK *somTD_HILittleArrows_SetArrowDelta)(HILittleArrows *somSelf, Environment *ev,
  2110.         UInt32 delta);
  2111. #define somMD_HILittleArrows_SetArrowDelta "::HILittleArrows::SetArrowDelta"
  2112. #define HILittleArrows_SetArrowDelta(somSelf,ev,delta) \
  2113.     (SOM_Resolve(somSelf, HILittleArrows, SetArrowDelta) \
  2114.     (somSelf,ev,delta))
  2115. #ifndef SOMGD_SetArrowDelta
  2116.     #if defined _SetArrowDelta || defined __SetArrowDelta
  2117.         #undef _SetArrowDelta
  2118.         #undef __SetArrowDelta
  2119.         #define SOMGD_SetArrowDelta 1
  2120.     #else
  2121.         #define _SetArrowDelta HILittleArrows_SetArrowDelta
  2122.     #endif /* _SetArrowDelta */
  2123. #endif /* SOMGD_SetArrowDelta */
  2124.  
  2125. /*
  2126.  * New Method: GetArrowDelta
  2127.  */
  2128. typedef UInt32   (SOMLINK *somTD_HILittleArrows_GetArrowDelta)(HILittleArrows *somSelf, Environment *ev);
  2129. #define somMD_HILittleArrows_GetArrowDelta "::HILittleArrows::GetArrowDelta"
  2130. #define HILittleArrows_GetArrowDelta(somSelf,ev) \
  2131.     (SOM_Resolve(somSelf, HILittleArrows, GetArrowDelta) \
  2132.     (somSelf,ev))
  2133. #ifndef SOMGD_GetArrowDelta
  2134.     #if defined _GetArrowDelta || defined __GetArrowDelta
  2135.         #undef _GetArrowDelta
  2136.         #undef __GetArrowDelta
  2137.         #define SOMGD_GetArrowDelta 1
  2138.     #else
  2139.         #define _GetArrowDelta HILittleArrows_GetArrowDelta
  2140.     #endif /* _GetArrowDelta */
  2141. #endif /* SOMGD_GetArrowDelta */
  2142. #ifndef SOM_DONT_USE_INHERITED_MACROS
  2143. #define HILittleArrows_InitControl HIControl_InitControl
  2144. #define HILittleArrows_SetValue HIControl_SetValue
  2145. #define HILittleArrows_GetValue HIControl_GetValue
  2146. #define HILittleArrows_SetMinimum HIControl_SetMinimum
  2147. #define HILittleArrows_GetMinimum HIControl_GetMinimum
  2148. #define HILittleArrows_SetMaximum HIControl_SetMaximum
  2149. #define HILittleArrows_GetMaximum HIControl_GetMaximum
  2150. #define HILittleArrows_SimulateSelection HIControl_SimulateSelection
  2151. #define HILittleArrows_GetEmbeddingParent HIPanel_GetEmbeddingParent
  2152. #define HILittleArrows_InitPanel HIPanel_InitPanel
  2153. #define HILittleArrows_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
  2154. #define HILittleArrows_HasValidContent HIPanel_HasValidContent
  2155. #define HILittleArrows_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
  2156. #define HILittleArrows_GetWindow HIObject_GetWindow
  2157. #define HILittleArrows_GetPort HIObject_GetPort
  2158. #define HILittleArrows_GetRefLabel HIObject_GetRefLabel
  2159. #define HILittleArrows_GetCollection HIObject_GetCollection
  2160. #define HILittleArrows_Init HIObject_Init
  2161. #define HILittleArrows_Terminate HIObject_Terminate
  2162. #define HILittleArrows_Clone HIObject_Clone
  2163. #define HILittleArrows_Release HIObject_Release
  2164. #define HILittleArrows_GetOwnerCount HIObject_GetOwnerCount
  2165. #define HILittleArrows_InitFromAERecord HIObject_InitFromAERecord
  2166. #define HILittleArrows_WriteToAERecord HIObject_WriteToAERecord
  2167. #define HILittleArrows_CalculateOptimalSize HIObject_CalculateOptimalSize
  2168. #define HILittleArrows_GetBoundingRect HIObject_GetBoundingRect
  2169. #define HILittleArrows_SetBoundingRect HIObject_SetBoundingRect
  2170. #define HILittleArrows_SetPosition HIObject_SetPosition
  2171. #define HILittleArrows_SetSize HIObject_SetSize
  2172. #define HILittleArrows_GetUpdateRect HIObject_GetUpdateRect
  2173. #define HILittleArrows_Enable HIObject_Enable
  2174. #define HILittleArrows_Disable HIObject_Disable
  2175. #define HILittleArrows_IsEnabled HIObject_IsEnabled
  2176. #define HILittleArrows_Show HIObject_Show
  2177. #define HILittleArrows_Hide HIObject_Hide
  2178. #define HILittleArrows_IsVisible HIObject_IsVisible
  2179. #define HILittleArrows_HandleAppleEvent HIObject_HandleAppleEvent
  2180. #define HILittleArrows_HandleActivate HIObject_HandleActivate
  2181. #define HILittleArrows_HandleDeactivate HIObject_HandleDeactivate
  2182. #define HILittleArrows_HandleNavigation HIObject_HandleNavigation
  2183. #define HILittleArrows_HandleMouseDownInContent HIObject_HandleMouseDownInContent
  2184. #define HILittleArrows_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
  2185. #define HILittleArrows_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
  2186. #define HILittleArrows_HandleMouseUpInContent HIObject_HandleMouseUpInContent
  2187. #define HILittleArrows_TakeUserInputFocus HIObject_TakeUserInputFocus
  2188. #define HILittleArrows_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
  2189. #define HILittleArrows_HasUserInputFocus HIObject_HasUserInputFocus
  2190. #define HILittleArrows_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
  2191. #define HILittleArrows_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
  2192. #define HILittleArrows_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
  2193. #define HILittleArrows_SetTitle HIObject_SetTitle
  2194. #define HILittleArrows_GetTitle HIObject_GetTitle
  2195. #define HILittleArrows_Draw HIObject_Draw
  2196. #define HILittleArrows_Erase HIObject_Erase
  2197. #define HILittleArrows_Invalidate HIObject_Invalidate
  2198. #define HILittleArrows_GetDrawingMode HIObject_GetDrawingMode
  2199. #define HILittleArrows_SetDrawingMode HIObject_SetDrawingMode
  2200. #define HILittleArrows_SetBackgroundPattern HIObject_SetBackgroundPattern
  2201. #define HILittleArrows_GetBackgroundPattern HIObject_GetBackgroundPattern
  2202. #define HILittleArrows_Cut HIObject_Cut
  2203. #define HILittleArrows_Copy HIObject_Copy
  2204. #define HILittleArrows_Paste HIObject_Paste
  2205. #define HILittleArrows_Clear HIObject_Clear
  2206. #define HILittleArrows_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
  2207. #define HILittleArrows_AddStateChangeCallback HIObject_AddStateChangeCallback
  2208. #define HILittleArrows_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
  2209. #define HILittleArrows_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
  2210. #define HILittleArrows_GetNewHIObject HIObject_GetNewHIObject
  2211. #define HILittleArrows_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
  2212. #define HILittleArrows_DrawContent HIObject_DrawContent
  2213. #define HILittleArrows_EraseContent HIObject_EraseContent
  2214. #define HILittleArrows_TranslatePoint HIObject_TranslatePoint
  2215. #define HILittleArrows_TranslateRect HIObject_TranslateRect
  2216. #define HILittleArrows_StateChanged HIObject_StateChanged
  2217. #define HILittleArrows_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
  2218. #define HILittleArrows_Verify HIObject_Verify
  2219. #define HILittleArrows_somInit SOMObject_somInit
  2220. #define HILittleArrows_somUninit SOMObject_somUninit
  2221. #define HILittleArrows_somDuplicateReference SOMObject_somDuplicateReference
  2222. #define HILittleArrows_somCompareReference SOMObject_somCompareReference
  2223. #define HILittleArrows_somRelease SOMObject_somRelease
  2224. #define HILittleArrows_somFree SOMObject_somFree
  2225. #define HILittleArrows_somCanDelete SOMObject_somCanDelete
  2226. #define HILittleArrows_somGetClass SOMObject_somGetClass
  2227. #define HILittleArrows_somGetClassName SOMObject_somGetClassName
  2228. #define HILittleArrows_somGetSize SOMObject_somGetSize
  2229. #define HILittleArrows_somIsA SOMObject_somIsA
  2230. #define HILittleArrows_somRespondsTo SOMObject_somRespondsTo
  2231. #define HILittleArrows_somIsInstanceOf SOMObject_somIsInstanceOf
  2232. #define HILittleArrows_somDispatch SOMObject_somDispatch
  2233. #define HILittleArrows_somClassDispatch SOMObject_somClassDispatch
  2234. #define HILittleArrows_somCastObj SOMObject_somCastObj
  2235. #define HILittleArrows_somResetObj SOMObject_somResetObj
  2236. #define HILittleArrows_somPrintSelf SOMObject_somPrintSelf
  2237. #define HILittleArrows_somDumpSelf SOMObject_somDumpSelf
  2238. #define HILittleArrows_somDumpSelfInt SOMObject_somDumpSelfInt
  2239. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  2240.  
  2241. #endif       /* SOM_HILittleArrows_h */
  2242.  
  2243. #ifndef SOM_HIProgressIndicator_h
  2244. #define SOM_HIProgressIndicator_h
  2245.  
  2246.  
  2247. #include <som.h>
  2248.  
  2249. /*
  2250.  * -- This emitter treats Method Tokens as Thunks by default.
  2251.  * -- Use the sc modifier "nothunks" to change this default
  2252.  */
  2253. #undef somresolve_
  2254. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  2255.  
  2256. /*
  2257.  * Define the class name as an object type
  2258.  */
  2259. #ifndef HIProgressIndicator
  2260. #define HIProgressIndicator SOMObject
  2261. #endif
  2262. #include <HIControls.h>
  2263.  
  2264. /*
  2265.  * Start of user-defined types:
  2266.  */
  2267.  
  2268. /*
  2269.  * End of user-defined types.
  2270.  */
  2271.  
  2272. #define HIProgressIndicator_MajorVersion 0
  2273. #define HIProgressIndicator_MinorVersion 0
  2274.  
  2275. /*
  2276.  * External name shortening if required
  2277.  */
  2278. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  2279. #define HIProgressIndicatorClassData d
  2280. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  2281. /*--------------Migration------------*/
  2282.  
  2283. #ifdef OLDIBMSOMAPISUPPORT
  2284. #define HIProgressIndicator_classObj somNewClassReference(HIProgressIndicator)
  2285. #define _HIProgressIndicator HIProgressIndicator_classObj
  2286. #define HIProgressIndicatorCClassData HIProgressIndicatorClassData
  2287. #define HIProgressIndicatorNewClass(major,minor) somNewVersionedClassReference(HIProgressIndicator,major,minor)
  2288. #endif
  2289.  
  2290. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  2291. #define HIProgressIndicatorMetaClass SOMClass
  2292.  
  2293. #if PRAGMA_ALIGN_SUPPORTED
  2294. #  pragma options align=power
  2295. #endif
  2296.  
  2297. /*
  2298.  * Declare the class data structure
  2299.  */
  2300. SOMEXTERN struct HIProgressIndicatorClassDataStructure {
  2301. #ifdef OLDIBMSOMAPISUPPORT
  2302.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  2303. #else
  2304.     long zero;
  2305. #endif
  2306.     somStaticClassInfo *sci;
  2307.     somDToken        instanceDataToken;
  2308.     long reserved [3];
  2309.     somMToken InitProgressIndicator;
  2310.     somMToken SetBehavior;
  2311.     somMToken GetBehavior;
  2312.     somMToken SpinForward;
  2313.     somMToken SpinBackward;
  2314. } SOMDLINK HIProgressIndicatorClassData;
  2315.  
  2316. #if PRAGMA_ALIGN_SUPPORTED
  2317. #  pragma options align=reset
  2318. #endif
  2319.  
  2320. #if !defined(HIProgressIndicator_Class_Source) && !defined(SOM_Module_hicontrols_Source)
  2321. #if PRAGMA_IMPORT_SUPPORTED
  2322. #pragma import list HIProgressIndicatorClassData
  2323. #endif
  2324. #endif
  2325.  
  2326.  
  2327. /*
  2328.  * New macro for HIProgressIndicator
  2329.  */
  2330. #define HIProgressIndicatorNew() somNewObject(HIProgressIndicator)
  2331.  
  2332. /*
  2333.  * New Method: InitProgressIndicator
  2334.  */
  2335. typedef OSStatus   (SOMLINK *somTD_HIProgressIndicator_InitProgressIndicator)(HIProgressIndicator *somSelf, Environment *ev,
  2336.         RefLabel* identifier,
  2337.         HIWindow* window,
  2338.         Rect* bounds,
  2339.         HIControlBehavior behavior);
  2340. #define somMD_HIProgressIndicator_InitProgressIndicator "::HIProgressIndicator::InitProgressIndicator"
  2341. #define HIProgressIndicator_InitProgressIndicator(somSelf,ev,identifier,window,bounds,behavior) \
  2342.     (SOM_Resolve(somSelf, HIProgressIndicator, InitProgressIndicator) \
  2343.     (somSelf,ev,identifier,window,bounds,behavior))
  2344. #ifndef SOMGD_InitProgressIndicator
  2345.     #if defined _InitProgressIndicator || defined __InitProgressIndicator
  2346.         #undef _InitProgressIndicator
  2347.         #undef __InitProgressIndicator
  2348.         #define SOMGD_InitProgressIndicator 1
  2349.     #else
  2350.         #define _InitProgressIndicator HIProgressIndicator_InitProgressIndicator
  2351.     #endif /* _InitProgressIndicator */
  2352. #endif /* SOMGD_InitProgressIndicator */
  2353.  
  2354. /*
  2355.  * New Method: SetBehavior
  2356.  */
  2357. typedef void   (SOMLINK *somTD_HIProgressIndicator_SetBehavior)(HIProgressIndicator *somSelf, Environment *ev,
  2358.         HIControlBehavior newBehavior);
  2359. #define somMD_HIProgressIndicator_SetBehavior "::HIProgressIndicator::SetBehavior"
  2360. #define HIProgressIndicator_SetBehavior(somSelf,ev,newBehavior) \
  2361.     (SOM_Resolve(somSelf, HIProgressIndicator, SetBehavior) \
  2362.     (somSelf,ev,newBehavior))
  2363. #ifndef SOMGD_SetBehavior
  2364.     #if defined _SetBehavior || defined __SetBehavior
  2365.         #undef _SetBehavior
  2366.         #undef __SetBehavior
  2367.         #define SOMGD_SetBehavior 1
  2368.     #else
  2369.         #define _SetBehavior HIProgressIndicator_SetBehavior
  2370.     #endif /* _SetBehavior */
  2371. #endif /* SOMGD_SetBehavior */
  2372.  
  2373. /*
  2374.  * New Method: GetBehavior
  2375.  */
  2376. typedef HIControlBehavior   (SOMLINK *somTD_HIProgressIndicator_GetBehavior)(HIProgressIndicator *somSelf, Environment *ev);
  2377. #define somMD_HIProgressIndicator_GetBehavior "::HIProgressIndicator::GetBehavior"
  2378. #define HIProgressIndicator_GetBehavior(somSelf,ev) \
  2379.     (SOM_Resolve(somSelf, HIProgressIndicator, GetBehavior) \
  2380.     (somSelf,ev))
  2381. #ifndef SOMGD_GetBehavior
  2382.     #if defined _GetBehavior || defined __GetBehavior
  2383.         #undef _GetBehavior
  2384.         #undef __GetBehavior
  2385.         #define SOMGD_GetBehavior 1
  2386.     #else
  2387.         #define _GetBehavior HIProgressIndicator_GetBehavior
  2388.     #endif /* _GetBehavior */
  2389. #endif /* SOMGD_GetBehavior */
  2390.  
  2391. /*
  2392.  * New Method: SpinForward
  2393.  */
  2394. typedef void   (SOMLINK *somTD_HIProgressIndicator_SpinForward)(HIProgressIndicator *somSelf, Environment *ev);
  2395. #define somMD_HIProgressIndicator_SpinForward "::HIProgressIndicator::SpinForward"
  2396. #define HIProgressIndicator_SpinForward(somSelf,ev) \
  2397.     (SOM_Resolve(somSelf, HIProgressIndicator, SpinForward) \
  2398.     (somSelf,ev))
  2399. #ifndef SOMGD_SpinForward
  2400.     #if defined _SpinForward || defined __SpinForward
  2401.         #undef _SpinForward
  2402.         #undef __SpinForward
  2403.         #define SOMGD_SpinForward 1
  2404.     #else
  2405.         #define _SpinForward HIProgressIndicator_SpinForward
  2406.     #endif /* _SpinForward */
  2407. #endif /* SOMGD_SpinForward */
  2408.  
  2409. /*
  2410.  * New Method: SpinBackward
  2411.  */
  2412. typedef void   (SOMLINK *somTD_HIProgressIndicator_SpinBackward)(HIProgressIndicator *somSelf, Environment *ev);
  2413. #define somMD_HIProgressIndicator_SpinBackward "::HIProgressIndicator::SpinBackward"
  2414. #define HIProgressIndicator_SpinBackward(somSelf,ev) \
  2415.     (SOM_Resolve(somSelf, HIProgressIndicator, SpinBackward) \
  2416.     (somSelf,ev))
  2417. #ifndef SOMGD_SpinBackward
  2418.     #if defined _SpinBackward || defined __SpinBackward
  2419.         #undef _SpinBackward
  2420.         #undef __SpinBackward
  2421.         #define SOMGD_SpinBackward 1
  2422.     #else
  2423.         #define _SpinBackward HIProgressIndicator_SpinBackward
  2424.     #endif /* _SpinBackward */
  2425. #endif /* SOMGD_SpinBackward */
  2426. #ifndef SOM_DONT_USE_INHERITED_MACROS
  2427. #define HIProgressIndicator_InitControl HIControl_InitControl
  2428. #define HIProgressIndicator_SetValue HIControl_SetValue
  2429. #define HIProgressIndicator_GetValue HIControl_GetValue
  2430. #define HIProgressIndicator_SetMinimum HIControl_SetMinimum
  2431. #define HIProgressIndicator_GetMinimum HIControl_GetMinimum
  2432. #define HIProgressIndicator_SetMaximum HIControl_SetMaximum
  2433. #define HIProgressIndicator_GetMaximum HIControl_GetMaximum
  2434. #define HIProgressIndicator_SimulateSelection HIControl_SimulateSelection
  2435. #define HIProgressIndicator_GetEmbeddingParent HIPanel_GetEmbeddingParent
  2436. #define HIProgressIndicator_InitPanel HIPanel_InitPanel
  2437. #define HIProgressIndicator_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
  2438. #define HIProgressIndicator_HasValidContent HIPanel_HasValidContent
  2439. #define HIProgressIndicator_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
  2440. #define HIProgressIndicator_GetWindow HIObject_GetWindow
  2441. #define HIProgressIndicator_GetPort HIObject_GetPort
  2442. #define HIProgressIndicator_GetRefLabel HIObject_GetRefLabel
  2443. #define HIProgressIndicator_GetCollection HIObject_GetCollection
  2444. #define HIProgressIndicator_Init HIObject_Init
  2445. #define HIProgressIndicator_Terminate HIObject_Terminate
  2446. #define HIProgressIndicator_Clone HIObject_Clone
  2447. #define HIProgressIndicator_Release HIObject_Release
  2448. #define HIProgressIndicator_GetOwnerCount HIObject_GetOwnerCount
  2449. #define HIProgressIndicator_InitFromAERecord HIObject_InitFromAERecord
  2450. #define HIProgressIndicator_WriteToAERecord HIObject_WriteToAERecord
  2451. #define HIProgressIndicator_CalculateOptimalSize HIObject_CalculateOptimalSize
  2452. #define HIProgressIndicator_GetBoundingRect HIObject_GetBoundingRect
  2453. #define HIProgressIndicator_SetBoundingRect HIObject_SetBoundingRect
  2454. #define HIProgressIndicator_SetPosition HIObject_SetPosition
  2455. #define HIProgressIndicator_SetSize HIObject_SetSize
  2456. #define HIProgressIndicator_GetUpdateRect HIObject_GetUpdateRect
  2457. #define HIProgressIndicator_Enable HIObject_Enable
  2458. #define HIProgressIndicator_Disable HIObject_Disable
  2459. #define HIProgressIndicator_IsEnabled HIObject_IsEnabled
  2460. #define HIProgressIndicator_Show HIObject_Show
  2461. #define HIProgressIndicator_Hide HIObject_Hide
  2462. #define HIProgressIndicator_IsVisible HIObject_IsVisible
  2463. #define HIProgressIndicator_HandleAppleEvent HIObject_HandleAppleEvent
  2464. #define HIProgressIndicator_HandleActivate HIObject_HandleActivate
  2465. #define HIProgressIndicator_HandleDeactivate HIObject_HandleDeactivate
  2466. #define HIProgressIndicator_HandleNavigation HIObject_HandleNavigation
  2467. #define HIProgressIndicator_HandleMouseDownInContent HIObject_HandleMouseDownInContent
  2468. #define HIProgressIndicator_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
  2469. #define HIProgressIndicator_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
  2470. #define HIProgressIndicator_HandleMouseUpInContent HIObject_HandleMouseUpInContent
  2471. #define HIProgressIndicator_TakeUserInputFocus HIObject_TakeUserInputFocus
  2472. #define HIProgressIndicator_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
  2473. #define HIProgressIndicator_HasUserInputFocus HIObject_HasUserInputFocus
  2474. #define HIProgressIndicator_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
  2475. #define HIProgressIndicator_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
  2476. #define HIProgressIndicator_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
  2477. #define HIProgressIndicator_SetTitle HIObject_SetTitle
  2478. #define HIProgressIndicator_GetTitle HIObject_GetTitle
  2479. #define HIProgressIndicator_Draw HIObject_Draw
  2480. #define HIProgressIndicator_Erase HIObject_Erase
  2481. #define HIProgressIndicator_Invalidate HIObject_Invalidate
  2482. #define HIProgressIndicator_GetDrawingMode HIObject_GetDrawingMode
  2483. #define HIProgressIndicator_SetDrawingMode HIObject_SetDrawingMode
  2484. #define HIProgressIndicator_SetBackgroundPattern HIObject_SetBackgroundPattern
  2485. #define HIProgressIndicator_GetBackgroundPattern HIObject_GetBackgroundPattern
  2486. #define HIProgressIndicator_Cut HIObject_Cut
  2487. #define HIProgressIndicator_Copy HIObject_Copy
  2488. #define HIProgressIndicator_Paste HIObject_Paste
  2489. #define HIProgressIndicator_Clear HIObject_Clear
  2490. #define HIProgressIndicator_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
  2491. #define HIProgressIndicator_AddStateChangeCallback HIObject_AddStateChangeCallback
  2492. #define HIProgressIndicator_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
  2493. #define HIProgressIndicator_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
  2494. #define HIProgressIndicator_GetNewHIObject HIObject_GetNewHIObject
  2495. #define HIProgressIndicator_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
  2496. #define HIProgressIndicator_DrawContent HIObject_DrawContent
  2497. #define HIProgressIndicator_EraseContent HIObject_EraseContent
  2498. #define HIProgressIndicator_TranslatePoint HIObject_TranslatePoint
  2499. #define HIProgressIndicator_TranslateRect HIObject_TranslateRect
  2500. #define HIProgressIndicator_StateChanged HIObject_StateChanged
  2501. #define HIProgressIndicator_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
  2502. #define HIProgressIndicator_Verify HIObject_Verify
  2503. #define HIProgressIndicator_somInit SOMObject_somInit
  2504. #define HIProgressIndicator_somUninit SOMObject_somUninit
  2505. #define HIProgressIndicator_somDuplicateReference SOMObject_somDuplicateReference
  2506. #define HIProgressIndicator_somCompareReference SOMObject_somCompareReference
  2507. #define HIProgressIndicator_somRelease SOMObject_somRelease
  2508. #define HIProgressIndicator_somFree SOMObject_somFree
  2509. #define HIProgressIndicator_somCanDelete SOMObject_somCanDelete
  2510. #define HIProgressIndicator_somGetClass SOMObject_somGetClass
  2511. #define HIProgressIndicator_somGetClassName SOMObject_somGetClassName
  2512. #define HIProgressIndicator_somGetSize SOMObject_somGetSize
  2513. #define HIProgressIndicator_somIsA SOMObject_somIsA
  2514. #define HIProgressIndicator_somRespondsTo SOMObject_somRespondsTo
  2515. #define HIProgressIndicator_somIsInstanceOf SOMObject_somIsInstanceOf
  2516. #define HIProgressIndicator_somDispatch SOMObject_somDispatch
  2517. #define HIProgressIndicator_somClassDispatch SOMObject_somClassDispatch
  2518. #define HIProgressIndicator_somCastObj SOMObject_somCastObj
  2519. #define HIProgressIndicator_somResetObj SOMObject_somResetObj
  2520. #define HIProgressIndicator_somPrintSelf SOMObject_somPrintSelf
  2521. #define HIProgressIndicator_somDumpSelf SOMObject_somDumpSelf
  2522. #define HIProgressIndicator_somDumpSelfInt SOMObject_somDumpSelfInt
  2523. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  2524.  
  2525. #endif       /* SOM_HIProgressIndicator_h */
  2526.  
  2527. #ifndef SOM_HIPopUpControl_h
  2528. #define SOM_HIPopUpControl_h
  2529.  
  2530.  
  2531. #include <som.h>
  2532.  
  2533. /*
  2534.  * -- This emitter treats Method Tokens as Thunks by default.
  2535.  * -- Use the sc modifier "nothunks" to change this default
  2536.  */
  2537. #undef somresolve_
  2538. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  2539.  
  2540. /*
  2541.  * Define the class name as an object type
  2542.  */
  2543. #ifndef HIPopUpControl
  2544. #define HIPopUpControl SOMObject
  2545. #endif
  2546. #include <HIControls.h>
  2547.  
  2548. /*
  2549.  * Start of user-defined types:
  2550.  */
  2551.  
  2552. /*
  2553.  * End of user-defined types.
  2554.  */
  2555.  
  2556. #define HIPopUpControl_MajorVersion 0
  2557. #define HIPopUpControl_MinorVersion 0
  2558.  
  2559. /*
  2560.  * External name shortening if required
  2561.  */
  2562. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  2563. #define HIPopUpControlClassData d
  2564. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  2565. /*--------------Migration------------*/
  2566.  
  2567. #ifdef OLDIBMSOMAPISUPPORT
  2568. #define HIPopUpControl_classObj somNewClassReference(HIPopUpControl)
  2569. #define _HIPopUpControl HIPopUpControl_classObj
  2570. #define HIPopUpControlCClassData HIPopUpControlClassData
  2571. #define HIPopUpControlNewClass(major,minor) somNewVersionedClassReference(HIPopUpControl,major,minor)
  2572. #endif
  2573.  
  2574. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  2575. #define HIPopUpControlMetaClass SOMClass
  2576.  
  2577. #if PRAGMA_ALIGN_SUPPORTED
  2578. #  pragma options align=power
  2579. #endif
  2580.  
  2581. /*
  2582.  * Declare the class data structure
  2583.  */
  2584. SOMEXTERN struct HIPopUpControlClassDataStructure {
  2585. #ifdef OLDIBMSOMAPISUPPORT
  2586.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  2587. #else
  2588.     long zero;
  2589. #endif
  2590.     somStaticClassInfo *sci;
  2591.     somDToken        instanceDataToken;
  2592.     long reserved [3];
  2593.     somMToken InitPopUpControl;
  2594.     somMToken SetMenu;
  2595.     somMToken GetMenu;
  2596. } SOMDLINK HIPopUpControlClassData;
  2597.  
  2598. #if PRAGMA_ALIGN_SUPPORTED
  2599. #  pragma options align=reset
  2600. #endif
  2601.  
  2602. #if !defined(HIPopUpControl_Class_Source) && !defined(SOM_Module_hicontrols_Source)
  2603. #if PRAGMA_IMPORT_SUPPORTED
  2604. #pragma import list HIPopUpControlClassData
  2605. #endif
  2606. #endif
  2607.  
  2608.  
  2609. /*
  2610.  * New macro for HIPopUpControl
  2611.  */
  2612. #define HIPopUpControlNew() somNewObject(HIPopUpControl)
  2613.  
  2614. /*
  2615.  * New Method: InitPopUpControl
  2616.  */
  2617. typedef OSStatus   (SOMLINK *somTD_HIPopUpControl_InitPopUpControl)(HIPopUpControl *somSelf, Environment *ev,
  2618.         RefLabel* identifier,
  2619.         HIWindow* window,
  2620.         Rect* bounds);
  2621. #define somMD_HIPopUpControl_InitPopUpControl "::HIPopUpControl::InitPopUpControl"
  2622. #define HIPopUpControl_InitPopUpControl(somSelf,ev,identifier,window,bounds) \
  2623.     (SOM_Resolve(somSelf, HIPopUpControl, InitPopUpControl) \
  2624.     (somSelf,ev,identifier,window,bounds))
  2625. #ifndef SOMGD_InitPopUpControl
  2626.     #if defined _InitPopUpControl || defined __InitPopUpControl
  2627.         #undef _InitPopUpControl
  2628.         #undef __InitPopUpControl
  2629.         #define SOMGD_InitPopUpControl 1
  2630.     #else
  2631.         #define _InitPopUpControl HIPopUpControl_InitPopUpControl
  2632.     #endif /* _InitPopUpControl */
  2633. #endif /* SOMGD_InitPopUpControl */
  2634.  
  2635. /*
  2636.  * New Method: SetMenu
  2637.  */
  2638. typedef void   (SOMLINK *somTD_HIPopUpControl_SetMenu)(HIPopUpControl *somSelf, Environment *ev,
  2639.         HIMenu* menu);
  2640. #define somMD_HIPopUpControl_SetMenu "::HIPopUpControl::SetMenu"
  2641. #define HIPopUpControl_SetMenu(somSelf,ev,menu) \
  2642.     (SOM_Resolve(somSelf, HIPopUpControl, SetMenu) \
  2643.     (somSelf,ev,menu))
  2644. #ifndef SOMGD_SetMenu
  2645.     #if defined _SetMenu || defined __SetMenu
  2646.         #undef _SetMenu
  2647.         #undef __SetMenu
  2648.         #define SOMGD_SetMenu 1
  2649.     #else
  2650.         #define _SetMenu HIPopUpControl_SetMenu
  2651.     #endif /* _SetMenu */
  2652. #endif /* SOMGD_SetMenu */
  2653.  
  2654. /*
  2655.  * New Method: GetMenu
  2656.  */
  2657. typedef HIMenu*   (SOMLINK *somTD_HIPopUpControl_GetMenu)(HIPopUpControl *somSelf, Environment *ev);
  2658. #define somMD_HIPopUpControl_GetMenu "::HIPopUpControl::GetMenu"
  2659. #define HIPopUpControl_GetMenu(somSelf,ev) \
  2660.     (SOM_Resolve(somSelf, HIPopUpControl, GetMenu) \
  2661.     (somSelf,ev))
  2662. #ifndef SOMGD_GetMenu
  2663.     #if defined _GetMenu || defined __GetMenu
  2664.         #undef _GetMenu
  2665.         #undef __GetMenu
  2666.         #define SOMGD_GetMenu 1
  2667.     #else
  2668.         #define _GetMenu HIPopUpControl_GetMenu
  2669.     #endif /* _GetMenu */
  2670. #endif /* SOMGD_GetMenu */
  2671. #ifndef SOM_DONT_USE_INHERITED_MACROS
  2672. #define HIPopUpControl_InitControl HIControl_InitControl
  2673. #define HIPopUpControl_SetValue HIControl_SetValue
  2674. #define HIPopUpControl_GetValue HIControl_GetValue
  2675. #define HIPopUpControl_SetMinimum HIControl_SetMinimum
  2676. #define HIPopUpControl_GetMinimum HIControl_GetMinimum
  2677. #define HIPopUpControl_SetMaximum HIControl_SetMaximum
  2678. #define HIPopUpControl_GetMaximum HIControl_GetMaximum
  2679. #define HIPopUpControl_SimulateSelection HIControl_SimulateSelection
  2680. #define HIPopUpControl_GetEmbeddingParent HIPanel_GetEmbeddingParent
  2681. #define HIPopUpControl_InitPanel HIPanel_InitPanel
  2682. #define HIPopUpControl_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
  2683. #define HIPopUpControl_HasValidContent HIPanel_HasValidContent
  2684. #define HIPopUpControl_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
  2685. #define HIPopUpControl_GetWindow HIObject_GetWindow
  2686. #define HIPopUpControl_GetPort HIObject_GetPort
  2687. #define HIPopUpControl_GetRefLabel HIObject_GetRefLabel
  2688. #define HIPopUpControl_GetCollection HIObject_GetCollection
  2689. #define HIPopUpControl_Init HIObject_Init
  2690. #define HIPopUpControl_Terminate HIObject_Terminate
  2691. #define HIPopUpControl_Clone HIObject_Clone
  2692. #define HIPopUpControl_Release HIObject_Release
  2693. #define HIPopUpControl_GetOwnerCount HIObject_GetOwnerCount
  2694. #define HIPopUpControl_InitFromAERecord HIObject_InitFromAERecord
  2695. #define HIPopUpControl_WriteToAERecord HIObject_WriteToAERecord
  2696. #define HIPopUpControl_CalculateOptimalSize HIObject_CalculateOptimalSize
  2697. #define HIPopUpControl_GetBoundingRect HIObject_GetBoundingRect
  2698. #define HIPopUpControl_SetBoundingRect HIObject_SetBoundingRect
  2699. #define HIPopUpControl_SetPosition HIObject_SetPosition
  2700. #define HIPopUpControl_SetSize HIObject_SetSize
  2701. #define HIPopUpControl_GetUpdateRect HIObject_GetUpdateRect
  2702. #define HIPopUpControl_Enable HIObject_Enable
  2703. #define HIPopUpControl_Disable HIObject_Disable
  2704. #define HIPopUpControl_IsEnabled HIObject_IsEnabled
  2705. #define HIPopUpControl_Show HIObject_Show
  2706. #define HIPopUpControl_Hide HIObject_Hide
  2707. #define HIPopUpControl_IsVisible HIObject_IsVisible
  2708. #define HIPopUpControl_HandleAppleEvent HIObject_HandleAppleEvent
  2709. #define HIPopUpControl_HandleActivate HIObject_HandleActivate
  2710. #define HIPopUpControl_HandleDeactivate HIObject_HandleDeactivate
  2711. #define HIPopUpControl_HandleNavigation HIObject_HandleNavigation
  2712. #define HIPopUpControl_HandleMouseDownInContent HIObject_HandleMouseDownInContent
  2713. #define HIPopUpControl_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
  2714. #define HIPopUpControl_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
  2715. #define HIPopUpControl_HandleMouseUpInContent HIObject_HandleMouseUpInContent
  2716. #define HIPopUpControl_TakeUserInputFocus HIObject_TakeUserInputFocus
  2717. #define HIPopUpControl_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
  2718. #define HIPopUpControl_HasUserInputFocus HIObject_HasUserInputFocus
  2719. #define HIPopUpControl_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
  2720. #define HIPopUpControl_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
  2721. #define HIPopUpControl_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
  2722. #define HIPopUpControl_SetTitle HIObject_SetTitle
  2723. #define HIPopUpControl_GetTitle HIObject_GetTitle
  2724. #define HIPopUpControl_Draw HIObject_Draw
  2725. #define HIPopUpControl_Erase HIObject_Erase
  2726. #define HIPopUpControl_Invalidate HIObject_Invalidate
  2727. #define HIPopUpControl_GetDrawingMode HIObject_GetDrawingMode
  2728. #define HIPopUpControl_SetDrawingMode HIObject_SetDrawingMode
  2729. #define HIPopUpControl_SetBackgroundPattern HIObject_SetBackgroundPattern
  2730. #define HIPopUpControl_GetBackgroundPattern HIObject_GetBackgroundPattern
  2731. #define HIPopUpControl_Cut HIObject_Cut
  2732. #define HIPopUpControl_Copy HIObject_Copy
  2733. #define HIPopUpControl_Paste HIObject_Paste
  2734. #define HIPopUpControl_Clear HIObject_Clear
  2735. #define HIPopUpControl_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
  2736. #define HIPopUpControl_AddStateChangeCallback HIObject_AddStateChangeCallback
  2737. #define HIPopUpControl_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
  2738. #define HIPopUpControl_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
  2739. #define HIPopUpControl_GetNewHIObject HIObject_GetNewHIObject
  2740. #define HIPopUpControl_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
  2741. #define HIPopUpControl_DrawContent HIObject_DrawContent
  2742. #define HIPopUpControl_EraseContent HIObject_EraseContent
  2743. #define HIPopUpControl_TranslatePoint HIObject_TranslatePoint
  2744. #define HIPopUpControl_TranslateRect HIObject_TranslateRect
  2745. #define HIPopUpControl_StateChanged HIObject_StateChanged
  2746. #define HIPopUpControl_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
  2747. #define HIPopUpControl_Verify HIObject_Verify
  2748. #define HIPopUpControl_somInit SOMObject_somInit
  2749. #define HIPopUpControl_somUninit SOMObject_somUninit
  2750. #define HIPopUpControl_somDuplicateReference SOMObject_somDuplicateReference
  2751. #define HIPopUpControl_somCompareReference SOMObject_somCompareReference
  2752. #define HIPopUpControl_somRelease SOMObject_somRelease
  2753. #define HIPopUpControl_somFree SOMObject_somFree
  2754. #define HIPopUpControl_somCanDelete SOMObject_somCanDelete
  2755. #define HIPopUpControl_somGetClass SOMObject_somGetClass
  2756. #define HIPopUpControl_somGetClassName SOMObject_somGetClassName
  2757. #define HIPopUpControl_somGetSize SOMObject_somGetSize
  2758. #define HIPopUpControl_somIsA SOMObject_somIsA
  2759. #define HIPopUpControl_somRespondsTo SOMObject_somRespondsTo
  2760. #define HIPopUpControl_somIsInstanceOf SOMObject_somIsInstanceOf
  2761. #define HIPopUpControl_somDispatch SOMObject_somDispatch
  2762. #define HIPopUpControl_somClassDispatch SOMObject_somClassDispatch
  2763. #define HIPopUpControl_somCastObj SOMObject_somCastObj
  2764. #define HIPopUpControl_somResetObj SOMObject_somResetObj
  2765. #define HIPopUpControl_somPrintSelf SOMObject_somPrintSelf
  2766. #define HIPopUpControl_somDumpSelf SOMObject_somDumpSelf
  2767. #define HIPopUpControl_somDumpSelfInt SOMObject_somDumpSelfInt
  2768. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  2769.  
  2770. #endif       /* SOM_HIPopUpControl_h */
  2771.  
  2772. #ifndef SOM_HIPopUpButton_h
  2773. #define SOM_HIPopUpButton_h
  2774.  
  2775.  
  2776. #include <som.h>
  2777.  
  2778. /*
  2779.  * -- This emitter treats Method Tokens as Thunks by default.
  2780.  * -- Use the sc modifier "nothunks" to change this default
  2781.  */
  2782. #undef somresolve_
  2783. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  2784.  
  2785. /*
  2786.  * Define the class name as an object type
  2787.  */
  2788. #ifndef HIPopUpButton
  2789. #define HIPopUpButton SOMObject
  2790. #endif
  2791. #include <HIControls.h>
  2792.  
  2793. /*
  2794.  * Start of user-defined types:
  2795.  */
  2796.  
  2797. /*
  2798.  * End of user-defined types.
  2799.  */
  2800.  
  2801. #define HIPopUpButton_MajorVersion 0
  2802. #define HIPopUpButton_MinorVersion 0
  2803.  
  2804. /*
  2805.  * External name shortening if required
  2806.  */
  2807. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  2808. #define HIPopUpButtonClassData d
  2809. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  2810. /*--------------Migration------------*/
  2811.  
  2812. #ifdef OLDIBMSOMAPISUPPORT
  2813. #define HIPopUpButton_classObj somNewClassReference(HIPopUpButton)
  2814. #define _HIPopUpButton HIPopUpButton_classObj
  2815. #define HIPopUpButtonCClassData HIPopUpButtonClassData
  2816. #define HIPopUpButtonNewClass(major,minor) somNewVersionedClassReference(HIPopUpButton,major,minor)
  2817. #endif
  2818.  
  2819. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  2820. #define HIPopUpButtonMetaClass SOMClass
  2821.  
  2822. #if PRAGMA_ALIGN_SUPPORTED
  2823. #  pragma options align=power
  2824. #endif
  2825.  
  2826. /*
  2827.  * Declare the class data structure
  2828.  */
  2829. SOMEXTERN struct HIPopUpButtonClassDataStructure {
  2830. #ifdef OLDIBMSOMAPISUPPORT
  2831.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  2832. #else
  2833.     long zero;
  2834. #endif
  2835.     somStaticClassInfo *sci;
  2836.     somDToken        instanceDataToken;
  2837.     long reserved [3];
  2838.     somMToken InitPopUpButton;
  2839.     somMToken AutomaticallyCalculateTitleWidth;
  2840.     somMToken ManuallySetTitleWidth;
  2841.     somMToken IsTitleWidthAutomaticallyCalculated;
  2842.     somMToken SetTitleWidth;
  2843.     somMToken GetTitleWidth;
  2844. } SOMDLINK HIPopUpButtonClassData;
  2845.  
  2846. #if PRAGMA_ALIGN_SUPPORTED
  2847. #  pragma options align=reset
  2848. #endif
  2849.  
  2850. #if !defined(HIPopUpButton_Class_Source) && !defined(SOM_Module_hicontrols_Source)
  2851. #if PRAGMA_IMPORT_SUPPORTED
  2852. #pragma import list HIPopUpButtonClassData
  2853. #endif
  2854. #endif
  2855.  
  2856.  
  2857. /*
  2858.  * New macro for HIPopUpButton
  2859.  */
  2860. #define HIPopUpButtonNew() somNewObject(HIPopUpButton)
  2861.  
  2862. /*
  2863.  * New Method: InitPopUpButton
  2864.  */
  2865. typedef OSStatus   (SOMLINK *somTD_HIPopUpButton_InitPopUpButton)(HIPopUpButton *somSelf, Environment *ev,
  2866.         RefLabel* identifier,
  2867.         HIWindow* window,
  2868.         Rect* bounds);
  2869. #define somMD_HIPopUpButton_InitPopUpButton "::HIPopUpButton::InitPopUpButton"
  2870. #define HIPopUpButton_InitPopUpButton(somSelf,ev,identifier,window,bounds) \
  2871.     (SOM_Resolve(somSelf, HIPopUpButton, InitPopUpButton) \
  2872.     (somSelf,ev,identifier,window,bounds))
  2873. #ifndef SOMGD_InitPopUpButton
  2874.     #if defined _InitPopUpButton || defined __InitPopUpButton
  2875.         #undef _InitPopUpButton
  2876.         #undef __InitPopUpButton
  2877.         #define SOMGD_InitPopUpButton 1
  2878.     #else
  2879.         #define _InitPopUpButton HIPopUpButton_InitPopUpButton
  2880.     #endif /* _InitPopUpButton */
  2881. #endif /* SOMGD_InitPopUpButton */
  2882.  
  2883. /*
  2884.  * New Method: AutomaticallyCalculateTitleWidth
  2885.  */
  2886. typedef void   (SOMLINK *somTD_HIPopUpButton_AutomaticallyCalculateTitleWidth)(HIPopUpButton *somSelf, Environment *ev);
  2887. #define somMD_HIPopUpButton_AutomaticallyCalculateTitleWidth "::HIPopUpButton::AutomaticallyCalculateTitleWidth"
  2888. #define HIPopUpButton_AutomaticallyCalculateTitleWidth(somSelf,ev) \
  2889.     (SOM_Resolve(somSelf, HIPopUpButton, AutomaticallyCalculateTitleWidth) \
  2890.     (somSelf,ev))
  2891. #ifndef SOMGD_AutomaticallyCalculateTitleWidth
  2892.     #if defined _AutomaticallyCalculateTitleWidth || defined __AutomaticallyCalculateTitleWidth
  2893.         #undef _AutomaticallyCalculateTitleWidth
  2894.         #undef __AutomaticallyCalculateTitleWidth
  2895.         #define SOMGD_AutomaticallyCalculateTitleWidth 1
  2896.     #else
  2897.         #define _AutomaticallyCalculateTitleWidth HIPopUpButton_AutomaticallyCalculateTitleWidth
  2898.     #endif /* _AutomaticallyCalculateTitleWidth */
  2899. #endif /* SOMGD_AutomaticallyCalculateTitleWidth */
  2900.  
  2901. /*
  2902.  * New Method: ManuallySetTitleWidth
  2903.  */
  2904. typedef void   (SOMLINK *somTD_HIPopUpButton_ManuallySetTitleWidth)(HIPopUpButton *somSelf, Environment *ev);
  2905. #define somMD_HIPopUpButton_ManuallySetTitleWidth "::HIPopUpButton::ManuallySetTitleWidth"
  2906. #define HIPopUpButton_ManuallySetTitleWidth(somSelf,ev) \
  2907.     (SOM_Resolve(somSelf, HIPopUpButton, ManuallySetTitleWidth) \
  2908.     (somSelf,ev))
  2909. #ifndef SOMGD_ManuallySetTitleWidth
  2910.     #if defined _ManuallySetTitleWidth || defined __ManuallySetTitleWidth
  2911.         #undef _ManuallySetTitleWidth
  2912.         #undef __ManuallySetTitleWidth
  2913.         #define SOMGD_ManuallySetTitleWidth 1
  2914.     #else
  2915.         #define _ManuallySetTitleWidth HIPopUpButton_ManuallySetTitleWidth
  2916.     #endif /* _ManuallySetTitleWidth */
  2917. #endif /* SOMGD_ManuallySetTitleWidth */
  2918.  
  2919. /*
  2920.  * New Method: IsTitleWidthAutomaticallyCalculated
  2921.  */
  2922. typedef boolean   (SOMLINK *somTD_HIPopUpButton_IsTitleWidthAutomaticallyCalculated)(HIPopUpButton *somSelf, Environment *ev);
  2923. #define somMD_HIPopUpButton_IsTitleWidthAutomaticallyCalculated "::HIPopUpButton::IsTitleWidthAutomaticallyCalculated"
  2924. #define HIPopUpButton_IsTitleWidthAutomaticallyCalculated(somSelf,ev) \
  2925.     (SOM_Resolve(somSelf, HIPopUpButton, IsTitleWidthAutomaticallyCalculated) \
  2926.     (somSelf,ev))
  2927. #ifndef SOMGD_IsTitleWidthAutomaticallyCalculated
  2928.     #if defined _IsTitleWidthAutomaticallyCalculated || defined __IsTitleWidthAutomaticallyCalculated
  2929.         #undef _IsTitleWidthAutomaticallyCalculated
  2930.         #undef __IsTitleWidthAutomaticallyCalculated
  2931.         #define SOMGD_IsTitleWidthAutomaticallyCalculated 1
  2932.     #else
  2933.         #define _IsTitleWidthAutomaticallyCalculated HIPopUpButton_IsTitleWidthAutomaticallyCalculated
  2934.     #endif /* _IsTitleWidthAutomaticallyCalculated */
  2935. #endif /* SOMGD_IsTitleWidthAutomaticallyCalculated */
  2936.  
  2937. /*
  2938.  * New Method: SetTitleWidth
  2939.  */
  2940. typedef void   (SOMLINK *somTD_HIPopUpButton_SetTitleWidth)(HIPopUpButton *somSelf, Environment *ev,
  2941.         UInt16 titleWidth);
  2942. #define somMD_HIPopUpButton_SetTitleWidth "::HIPopUpButton::SetTitleWidth"
  2943. #define HIPopUpButton_SetTitleWidth(somSelf,ev,titleWidth) \
  2944.     (SOM_Resolve(somSelf, HIPopUpButton, SetTitleWidth) \
  2945.     (somSelf,ev,titleWidth))
  2946. #ifndef SOMGD_SetTitleWidth
  2947.     #if defined _SetTitleWidth || defined __SetTitleWidth
  2948.         #undef _SetTitleWidth
  2949.         #undef __SetTitleWidth
  2950.         #define SOMGD_SetTitleWidth 1
  2951.     #else
  2952.         #define _SetTitleWidth HIPopUpButton_SetTitleWidth
  2953.     #endif /* _SetTitleWidth */
  2954. #endif /* SOMGD_SetTitleWidth */
  2955.  
  2956. /*
  2957.  * New Method: GetTitleWidth
  2958.  */
  2959. typedef UInt16   (SOMLINK *somTD_HIPopUpButton_GetTitleWidth)(HIPopUpButton *somSelf, Environment *ev);
  2960. #define somMD_HIPopUpButton_GetTitleWidth "::HIPopUpButton::GetTitleWidth"
  2961. #define HIPopUpButton_GetTitleWidth(somSelf,ev) \
  2962.     (SOM_Resolve(somSelf, HIPopUpButton, GetTitleWidth) \
  2963.     (somSelf,ev))
  2964. #ifndef SOMGD_GetTitleWidth
  2965.     #if defined _GetTitleWidth || defined __GetTitleWidth
  2966.         #undef _GetTitleWidth
  2967.         #undef __GetTitleWidth
  2968.         #define SOMGD_GetTitleWidth 1
  2969.     #else
  2970.         #define _GetTitleWidth HIPopUpButton_GetTitleWidth
  2971.     #endif /* _GetTitleWidth */
  2972. #endif /* SOMGD_GetTitleWidth */
  2973. #ifndef SOM_DONT_USE_INHERITED_MACROS
  2974. #define HIPopUpButton_InitPopUpControl HIPopUpControl_InitPopUpControl
  2975. #define HIPopUpButton_SetMenu HIPopUpControl_SetMenu
  2976. #define HIPopUpButton_GetMenu HIPopUpControl_GetMenu
  2977. #define HIPopUpButton_InitControl HIControl_InitControl
  2978. #define HIPopUpButton_SetValue HIControl_SetValue
  2979. #define HIPopUpButton_GetValue HIControl_GetValue
  2980. #define HIPopUpButton_SetMinimum HIControl_SetMinimum
  2981. #define HIPopUpButton_GetMinimum HIControl_GetMinimum
  2982. #define HIPopUpButton_SetMaximum HIControl_SetMaximum
  2983. #define HIPopUpButton_GetMaximum HIControl_GetMaximum
  2984. #define HIPopUpButton_SimulateSelection HIControl_SimulateSelection
  2985. #define HIPopUpButton_GetEmbeddingParent HIPanel_GetEmbeddingParent
  2986. #define HIPopUpButton_InitPanel HIPanel_InitPanel
  2987. #define HIPopUpButton_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
  2988. #define HIPopUpButton_HasValidContent HIPanel_HasValidContent
  2989. #define HIPopUpButton_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
  2990. #define HIPopUpButton_GetWindow HIObject_GetWindow
  2991. #define HIPopUpButton_GetPort HIObject_GetPort
  2992. #define HIPopUpButton_GetRefLabel HIObject_GetRefLabel
  2993. #define HIPopUpButton_GetCollection HIObject_GetCollection
  2994. #define HIPopUpButton_Init HIObject_Init
  2995. #define HIPopUpButton_Terminate HIObject_Terminate
  2996. #define HIPopUpButton_Clone HIObject_Clone
  2997. #define HIPopUpButton_Release HIObject_Release
  2998. #define HIPopUpButton_GetOwnerCount HIObject_GetOwnerCount
  2999. #define HIPopUpButton_InitFromAERecord HIObject_InitFromAERecord
  3000. #define HIPopUpButton_WriteToAERecord HIObject_WriteToAERecord
  3001. #define HIPopUpButton_CalculateOptimalSize HIObject_CalculateOptimalSize
  3002. #define HIPopUpButton_GetBoundingRect HIObject_GetBoundingRect
  3003. #define HIPopUpButton_SetBoundingRect HIObject_SetBoundingRect
  3004. #define HIPopUpButton_SetPosition HIObject_SetPosition
  3005. #define HIPopUpButton_SetSize HIObject_SetSize
  3006. #define HIPopUpButton_GetUpdateRect HIObject_GetUpdateRect
  3007. #define HIPopUpButton_Enable HIObject_Enable
  3008. #define HIPopUpButton_Disable HIObject_Disable
  3009. #define HIPopUpButton_IsEnabled HIObject_IsEnabled
  3010. #define HIPopUpButton_Show HIObject_Show
  3011. #define HIPopUpButton_Hide HIObject_Hide
  3012. #define HIPopUpButton_IsVisible HIObject_IsVisible
  3013. #define HIPopUpButton_HandleAppleEvent HIObject_HandleAppleEvent
  3014. #define HIPopUpButton_HandleActivate HIObject_HandleActivate
  3015. #define HIPopUpButton_HandleDeactivate HIObject_HandleDeactivate
  3016. #define HIPopUpButton_HandleNavigation HIObject_HandleNavigation
  3017. #define HIPopUpButton_HandleMouseDownInContent HIObject_HandleMouseDownInContent
  3018. #define HIPopUpButton_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
  3019. #define HIPopUpButton_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
  3020. #define HIPopUpButton_HandleMouseUpInContent HIObject_HandleMouseUpInContent
  3021. #define HIPopUpButton_TakeUserInputFocus HIObject_TakeUserInputFocus
  3022. #define HIPopUpButton_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
  3023. #define HIPopUpButton_HasUserInputFocus HIObject_HasUserInputFocus
  3024. #define HIPopUpButton_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
  3025. #define HIPopUpButton_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
  3026. #define HIPopUpButton_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
  3027. #define HIPopUpButton_SetTitle HIObject_SetTitle
  3028. #define HIPopUpButton_GetTitle HIObject_GetTitle
  3029. #define HIPopUpButton_Draw HIObject_Draw
  3030. #define HIPopUpButton_Erase HIObject_Erase
  3031. #define HIPopUpButton_Invalidate HIObject_Invalidate
  3032. #define HIPopUpButton_GetDrawingMode HIObject_GetDrawingMode
  3033. #define HIPopUpButton_SetDrawingMode HIObject_SetDrawingMode
  3034. #define HIPopUpButton_SetBackgroundPattern HIObject_SetBackgroundPattern
  3035. #define HIPopUpButton_GetBackgroundPattern HIObject_GetBackgroundPattern
  3036. #define HIPopUpButton_Cut HIObject_Cut
  3037. #define HIPopUpButton_Copy HIObject_Copy
  3038. #define HIPopUpButton_Paste HIObject_Paste
  3039. #define HIPopUpButton_Clear HIObject_Clear
  3040. #define HIPopUpButton_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
  3041. #define HIPopUpButton_AddStateChangeCallback HIObject_AddStateChangeCallback
  3042. #define HIPopUpButton_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
  3043. #define HIPopUpButton_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
  3044. #define HIPopUpButton_GetNewHIObject HIObject_GetNewHIObject
  3045. #define HIPopUpButton_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
  3046. #define HIPopUpButton_DrawContent HIObject_DrawContent
  3047. #define HIPopUpButton_EraseContent HIObject_EraseContent
  3048. #define HIPopUpButton_TranslatePoint HIObject_TranslatePoint
  3049. #define HIPopUpButton_TranslateRect HIObject_TranslateRect
  3050. #define HIPopUpButton_StateChanged HIObject_StateChanged
  3051. #define HIPopUpButton_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
  3052. #define HIPopUpButton_Verify HIObject_Verify
  3053. #define HIPopUpButton_somInit SOMObject_somInit
  3054. #define HIPopUpButton_somUninit SOMObject_somUninit
  3055. #define HIPopUpButton_somDuplicateReference SOMObject_somDuplicateReference
  3056. #define HIPopUpButton_somCompareReference SOMObject_somCompareReference
  3057. #define HIPopUpButton_somRelease SOMObject_somRelease
  3058. #define HIPopUpButton_somFree SOMObject_somFree
  3059. #define HIPopUpButton_somCanDelete SOMObject_somCanDelete
  3060. #define HIPopUpButton_somGetClass SOMObject_somGetClass
  3061. #define HIPopUpButton_somGetClassName SOMObject_somGetClassName
  3062. #define HIPopUpButton_somGetSize SOMObject_somGetSize
  3063. #define HIPopUpButton_somIsA SOMObject_somIsA
  3064. #define HIPopUpButton_somRespondsTo SOMObject_somRespondsTo
  3065. #define HIPopUpButton_somIsInstanceOf SOMObject_somIsInstanceOf
  3066. #define HIPopUpButton_somDispatch SOMObject_somDispatch
  3067. #define HIPopUpButton_somClassDispatch SOMObject_somClassDispatch
  3068. #define HIPopUpButton_somCastObj SOMObject_somCastObj
  3069. #define HIPopUpButton_somResetObj SOMObject_somResetObj
  3070. #define HIPopUpButton_somPrintSelf SOMObject_somPrintSelf
  3071. #define HIPopUpButton_somDumpSelf SOMObject_somDumpSelf
  3072. #define HIPopUpButton_somDumpSelfInt SOMObject_somDumpSelfInt
  3073. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  3074.  
  3075. #endif       /* SOM_HIPopUpButton_h */
  3076.